photon/project-template

Photon项目模板

dev-master 2017-05-30 14:33 UTC

This package is auto-updated.

Last update: 2024-09-18 20:23:36 UTC


README

  1. 下载并安装composer,请见 https://getcomposer.org.cn/download/

  2. 初始化项目

    composer install

  3. 初始化mongrel2配置

    m2sh load --config mongrel2/conf/http.conf

  4. 启动mongrel2

    m2sh start -name http

  5. 启动Photon项目

    ./vendor/bin/hnu serve

  6. 打开浏览器

    http://127.0.0.1:6767/