- Install Postgres(create db eflow_production)
- Install Redis
- Add
.envfile - yarn start / production
- redis-cli flushall
- yarn run dev-prepare / prod-prepare
/api/renewClasses
Simply run yarn test and all your tests in the test/ directory will be run.
It uses Travis-CI and Coveralls.
$ npm install -g sequelize-cli
$ sequelize model:create --name TodoItem --attributes content:string,complete:boolean #Generate a model
For more information on all the things you can do with Sequelize CLI visit sequelize cli .
The API, Func Flow API, and client are all deployed behind Nginx. Their Nginx configuration files are located in the sites-available and sites-enabled directories within the Nginx configuration.
API and Func Flow API are running via PM2. You could check on the status via node_PM2 list to get a list of APIs that are running.
To deploy node_api
# cd into node_api folder
npm run pm2:productionTo deploy func flow api
# not sure if this is necessary
eflow_venv
# cd into the func flow folder
func_flow_pm2 start ecosystem.jsonCopyright (c) 2018
Licensed under the MIT license.