/devops-demo

devops 项目 demo

Primary LanguageTypeScript

QuickStart

基于 Node 的 DevOps 实战

根据教程安装项目环境

新建数据库 devops_dev

$ yarn
$ npx sequelize db:migrate // 执行数据库变更

Development

$ yarn dev
$ open http://localhost:7001/

Deploy

$ npm run tsc
$ npm start

Npm Scripts

  • Use npm run lint to check code style
  • Use npm test to run unit test
  • se npm run clean to clean compiled js at development mode once

Requirement

  • Node.js 8.x
  • Typescript 2.8+