Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.54 KB

File metadata and controls

56 lines (45 loc) · 1.54 KB

git_study

DEMO

###########环境依赖 node v0.10.28+ redIs ~

###########部署步骤

  1. 添加系统环境变量 export $PORTAL_VERSION="production" // production, test, dev

  2. npm install //安装node运行环境

  3. gulp build //前端编译

  4. 启动两个配置(已forever为例) eg: forever start app-service.js forever start logger-service.js

###########目录结构描述 ├── Readme.md // help ├── app // 应用 ├── config // 配置 │ ├── default.json │ ├── dev.json // 开发环境 │ ├── experiment.json // 实验 │ ├── index.js // 配置控制 │ ├── local.json // 本地 │ ├── production.json // 生产环境 │ └── test.json // 测试环境 ├── data ├── doc // 文档 ├── environment ├── gulpfile.js ├── locales ├── logger-service.js // 启动日志配置 ├── node_modules ├── package.json ├── app-service.js // 启动应用配置 ├── static // web静态资源加载 │ └── initjson │ └── config.js // 提供给前端的配置 ├── test ├── test-service.js └── tools

###########V1.0.0 版本内容更新

  1. 新功能 aaaaaaaaa
  2. 新功能 bbbbbbbbb
  3. 新功能 ccccccccc
  4. 新功能 ddddddddd