Skip to content

maxailloud/SG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SG - Static site generator in PHP (WIP)

SG is a static site generator made with php.

SG rely on different open-source library:

Requirements

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.

Installation from PHAR

  1. Download the sg.phar executable .
  2. Start using SG: php sg.phar

Installation from Source

To generate your site you can use the sources instead, or if you want to develop SG.

  1. Go to your project directory and run git clone https://github.com/maxailloud/SG.git
  2. Download the composer.phar executable
  3. Run Composer to get the dependencies: php composer.phar install
  4. Start using SG: php sg

License

SG is licensed under the WTFPL License - see the LICENCE file for details

About

Static site generator in PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published