A simple blog generate engine based on php and slim framework.
Install composer.phar(to local directory)
$ curl -sS https://getcomposer.org/installer | php
Add "centorino/phybrid"
to your composer.json
file:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/centorino/phybrid.git"
}
],
"require": {
"centorino/phybrid": "*"
},
"scripts": {
"post-install-cmd": [
"cp -f ./vendor/centorino/phybrid/utils/install.php . && php install.php"
]
}
}
And install using composer:
$ php composer.phar install
Now, you can remove install.php from current directory.
$ php phybrid_generator.php
or
$ php phybrid_generator.php SCRIPT_NAME=(/ or /YourRootDir)
If your site is deployed sub directory, you should specify SCRIPT_NAME(=sub directory name).
$ unzip -o ./public/site.zip -d /YourDocumentRoot
please wait...
Copyright (c) 2015 centorino. See LICENSE for details.