I am Alpha, I am Omega
nvm use v15.4.0
$ npm i
$ npm run dev
$ open http://localhost:7001/
If you use yarn, then you can
yarn
yarn dev
open http://localhost:7001/ # for backend api ready
open http://localhost:10000/ # for frontend ready
Don't tsc compile at development mode, if you had run tsc
then you need to npm run clean
before npm run dev
.
$ npm run tsc
$ npm start
Automatically. If failed by token expired then you can update the token by
travis encrypt $(heroku auth:token) --add deploy.api_key --pro
Or deploy to heroku manually by
heroku login
heroku git:remote -a alpha
git push heroku master
heroku logs --tail -a uniheart
- 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
- Node.js 15.4.0
- Typescript 2.8+