Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.27 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.27 KB

eflow-api

Build Status Coverage Status

Getting Started

  1. Install Postgres(create db eflow_production)
  2. Install Redis
  3. Add .env file
  4. yarn start / production
  5. redis-cli flushall
  6. yarn run dev-prepare / prod-prepare
  7. /api/renewClasses

Testing

Simply run yarn test and all your tests in the test/ directory will be run.

CI

It uses Travis-CI and Coveralls.

Sequelize CLI

$ npm install -g sequelize-cli            

$ sequelize model:create --name TodoItem --attributes content:string,complete:boolean #Generate a model

Help

For more information on all the things you can do with Sequelize CLI visit sequelize cli .

Deployment

/usr/local/stow/node-v8.9.4-linux-x64/lib/node_modules/pm2/bin/pm2 start eflow-api --env production

\c eflow_production
UPDATE "Members" SET image='' WHERE id=;

License

Copyright (c) 2018

Licensed under the MIT license.