lamb2014 / vms

A Vue.js 2.0 Content Management System

Home Page:http://vms.ericjj.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Vue.js 2.0 Content Management System

http://vms.ericjj.com/

License:MIT License


Languages

Language:JavaScript 61.7%Language:Vue 36.8%Language:HTML 1.4%