Configuration
You can create several profiles.
Just create a .json file in sites/mywebsite/configuration/site/
For example site.json and site_test.json. It may be useful to have a local profile for testing purposes and a production profile.
File example :
{
"name":"Yoan De Macedo",
"url":"https://yoandemacedo.com",
"relativeLinks":0,
"cache":1,
"extras":["rss","htaccess","sitemap"]
}
Website generation
To generate a website, just launch this command line :
php fruga.php generate mywebsite profile
For example, to generate "mywebsite" with "site_test" profile :
php fruga.php generate mywebsite site_test
if no profile is specified, Fruga will use "site.json" profile.
Output website, will be in sites/mywebsite/output
(Sorry for the sometimes approximate English. If you want me to correct something, please contact me.)