Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 545 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 545 Bytes

Demos

Demos 是一个风格简洁的代码编辑器,用来写demo,小案例等。

Demos 基于 Koa 与 MongoDB 开发

Clone codes and run

# clone from git
$ git clone git@github.com:berwin/demos.git

$ cd demos

# install dependencies
$ npm install

# copy the default configuration file
$ cp config/default.js config/index.js

# modify configuration file
$ vim config/index.js

# run
node app.js

deploy

# Start
pm2 start process.json

# Reload
pm2 reload process.json

# Delete
pm2 delete process.json