SG is a static site generator made with php.
SG rely on different open-source library:
PHP 5.3.6 or later.
To use the PHAR executable you need PHP to access the phar
module.
On UNIX, in order to check whether you have this module or not, you just need to run the following command in your terminal :
# php -m | grep -i phar
If Phar
gets displayed then the module is properly installed.
- Download the
sg.phar
executable . - Start using SG:
php sg.phar
To generate your site you can use the sources instead, or if you want to develop SG.
- Go to your project directory and run
git clone https://github.com/maxailloud/SG.git
- Download the
composer.phar
executable - Run Composer to get the dependencies:
php composer.phar install
- Start using SG:
php sg
SG is licensed under the WTFPL License - see the LICENCE file for details