This is the Glisweb framework, developed starting from a code base originally written by Fabio Mosti [email protected] and Emiliano aimed at the beginning of the 2000s, reorganized in a single framework by Fabio Mosti between 2000 and 2005, and constantly updated up to the current version maintained in collaboration with the Team of Istrice Srl.
Thanks to its twenty years of history, Glisweb can guarantee unparalleled stability and robustness, despite being updated to the most recent conquests of web technologies. Modernity and tradition blend in a rigorous and elegant tool, thanks to which it is possible to simply carry out extremely complex projects.
Glisweb is a light, widely customizable framework, designed to create sites and web applications natively respectful of the standards and best practices in force in the world of the web.
Glisweb can be installed for two distinct purposes, to use it in the realization of its own project or to contribute to the development of the framework. Since the first case is the most common, let's start with that.
You can install Glisweb simply by cloning the repository in the document root of your web server (or your site if the server manages multiple sites); You can also download the source and upload it to your server via FTP if you use shared hosting that does not give you the opportunity to launch commands via ssh. It is important that in the installation and subsequent use of the non -ally -up framework or remove the License.MD and Readme.md files that are an integral part of the framework itself and guarantee circulation as open source software.
If you have the opportunity to use GIT on the machine in which you want to install the framework, simply cloning the repository https://github.com/istricesrl/glisweb in the Document Root of the site, after which launch composers update to install addictions. Then you can replicate the procedure to update the encouragement when it should be necessary.
The framework does not include addictions installed with composers, so if you have to use FTP to install it then you will have to download the addictions before uploading. Download Glisweb in zip format and disappear it, or clon the repository, then throw composers locally in the folder where the composer.json file is located. When the installation of the bookstores is completed, you can install the framework on your server via FTP.
Once the upload is completed, use the interface provided by your provider to perform the SQL scripts attached to the framework (in _usr/_tatabase/, performed first mysql.scama.sql and then mysql.data.sql) in order to create the tables necessary for its operation.
If you can access the server via SSH on which you want to install Glisweb, then the installation will be more linear. Simply download the framework as above, but directly in the document root of the site on which you want to install it, install addictions with composers and launch the SHELL script attached to the framework (_SRC/_sh/_gw.mysql.install.sh) to load the database. The script is interactive and will ask you for the data of the database server to perform the SQL scripts attached to the framework.
If you have just installed (or have not yet installed) web and database servers, you may find the setup script of the environment useful (_SRC/_sh/_gw.environment.Setup.sh) which will help you install and configure the necessary services to make Glisweb work.
An example of sequence of controls for installation could be the following, as more widely illustrated in the official documentation for developers at https://glisweb.istricesrl.it/docs/:
cd /var/www/html
wget https://github.com/istricesrl/glisweb/archive/develop.zip
unzip develop.zip
mv -f ./glisweb-develop/{.,}* ./
rmdir glisweb-develop
rm -rf .github
rm -f .gitignore
rm -f develop.zip
_src/_sh/_gw.permissions.reset.sh
_src/_sh/_gw.mysql.install.sh
_src/_sh/_gw.config.sh base
composer update
A video on the installation of Glisweb is also available at this address https://youtu.be/xzeraj20hja:
If on the server you are using the Calabash project is installed (https://github.com/istricesrl/calabash) you can install Glisweb simply by launching the command from the document root:
va.glisweb.install.sh .
If you want the development version used:
va.glisweb.install.sh . develop
Updating bookcases with composer will have already been made by the script.
If you want to contribute to the Glisweb project and you are in possession of a key valid for the repository, you can follow these instructions to install the framework in developer mode. First, get the Calabash project (see above) and install the framework with the command:
va.glisweb.clone.sh /percorso/document/root
You will be asked if you want to make the setup of the Lamp environment, if the Lamp environment is not already installed on your computer, you can answer yes and the script will install it and configure it for you. Subsequently, the procedure will also ask you if you want to create a database for the framework, and finally it will propose to start the guided configuration.
You can quickly start configuring the newly installed deploy by taking and personalizing the example files that you find in _usr/_config/_json/, simply use them as a base to create a single SRC/Config.json file that will be read automatically from the framework. For any doubt, refer to the documentation in _usr/_docs/or if you prefer you can do the Build with doxigen of the files (using the script _SRC/_gw.doxygen.build.sh) so you can view them via the web, adding the Path to the URL of your deployment _usr/_docs/_build/html/.
Also remember that you find numerous examples and useful files in the _usr/_examples/, which is an excellent starting point to start understanding how Glisweb works. Some of the tools you will find in this folder will be very useful even when you have become more experienced!
Using Glisweb is simple and intuitive! A guide for users is being developed and is available at this address http://s-url.it/gliswebdocs we are also publishing a series of video tutorials on this YouTube playlist http://s-url.it/gliswebvideos.