Skip to content

fouber/phiz-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Demo Of Phiz Framework

Prepare

  1. install sdk

    npm install -g phiz
  2. download this demo

    cd path/to/workspace
    git clone https://github.com/fouber/phiz-demo.git
    cd phiz-demo
  3. webserver

    if you got [php-cgi] support in your system, you can launch a built-in webserver of phiz-sdk by the command below:

    phiz server start --no-rewrite

    otherwise, you need a webserver which can run php.

  4. phiz-lib

    if you have launched phiz-sdk built-in server, then use the command below to install phiz-lib to phiz server www directory:

    phiz server install phiz-lib

    otherwise, use git clone:

    cd path/to/your/webserver/htdocs
    git clone https://github.com/fouber/phiz.git

Run Demo

  1. release project

    if you have launched phiz-sdk built-in server, then use the command below to compile and release the project to phiz server www directory:

    cd path/to/workspace/phiz-demo
    phiz release -r common
    phiz release -r foo
    phiz release -r foo-bar

    otherwise, use -d <path> option of phiz release command to specify release path:

    cd path/to/workspace/phiz-demo
    phiz release -r common -d path/to/your/webserver/htdocs
    phiz release -r foo -d path/to/your/webserver/htdocs
    phiz release -r foo-bar -d path/to/your/webserver/htdocs
  2. browser project

    view it at [http://127.0.0.1:8080/index.php]

Learn More

About

a demo of phiz template engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published