Skip to content

centorino/phybrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phybrid [β]

A simple blog generate engine based on php and slim framework.

Installation

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.

Usage

Generate static html

generate your site

$ 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 to your document root

$ unzip -o ./public/site.zip -d /YourDocumentRoot

Configuration

please wait...

Copyright

Copyright (c) 2015 centorino. See LICENSE for details.

About

A php and slim framework based simple blog generate engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published