JavaScript Vue HTML
Switch branches/tags
Nothing to show
Latest commit ebb665f Apr 21, 2017 @ericjjj committed on GitHub Update README.md
Permalink
Failed to load latest commit information.
backend 完善编辑器 Apr 13, 2017
frontend add markdown editor Apr 13, 2017
.gitignore Update Apr 12, 2017
.travis.yml Add travis ci Apr 13, 2017
LICENSE Initial commit Apr 12, 2017
README.md Update README.md Apr 21, 2017

README.md

VMS

Build Status Code Climate license

It is used by GeekPark

Live demo: http://vms.ericjj.com/

Contact: github@ericjj.com

ENV

  • Node.js 6+
  • MongoDB 3+

Features

  • Vue.js 2+
  • Element UI
  • WYSIWYG Editor
  • Markdown Editor
  • Upload pictures to qiniu
  • Node.js backend
  • Role access control
  • Easy to deploy

How to Start

# clone project
git clone https://github.com/ericjjj/vms.git

# start backend, need mongodb
cd backend/utils
# modify config.js (qiniu)
cp config.simple.js config.js
cd ..
# start
NODE_ENV=dev node index.js

# start websites
cd frontend/src
# modify config.js (qiniu)
cp config.simple.js config.js
cd ..
# start
npm run dev

Deploy

cd frontend
# build static files
npm run build
cd backend
# modify processes.json
# see http://pm2.keymetrics.io/docs/usage/deployment/
pm2 deploy processes.json production setup
# cp config.simple.js config.js
pm2 deploy processes.json production

Test

cd backend
npm run test

LICENSE

MIT