sunpu007 / admin-server

动态权限控制+任务调度系统

Home Page:http://admin-demo.myjerry.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

admin-server

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7002/

Deploy

$ npm start
$ npm stop

Docker Deploy

# 构建镜像
docker build -t `镜像名`:tag .
# 由于在项目中使用了hosts,所以需要需要在启动的时候追加数据库指向,也可在项目配置中将其修改成IP
docker run -itd --net=host --name admin-server --add-host=adminDemodb:<数据库地址> admin-server

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

About

动态权限控制+任务调度系统

http://admin-demo.myjerry.cn


Languages

Language:JavaScript 97.8%Language:Dockerfile 2.2%