- Create config
cp etc/config.json.sample etc/config.json
cp etc/dbConfig.json.sample etc/dbConfig.json
- Install libraries
npm i
- Run server
nodemon app.js
- Run worker
node workers/builder.js
- Run pm2 app
npm run start
- Create migration file
npm run create-migration
- Run all migrations
npm run migration
- Undo all migrations
npm run undo-all-migrations
- Undo one migration
npm run undo-migration
- Add build task
bash bin/build.sh