Stress relief in the workplace hub
- Node
>= v6.3.0
-
Install dependencies
npm install
-
Create your environment configuration
cp .env.dev .env
-
Run database migrations
npm run db:migrate
-
Start the server
npm start
-
Define database URL environment var
export DATABASE_URL={{ DATABASE_URL}}
-
Create migration file
node_modules/.bin/sequelize model:create --name ModelName --attributes attributeName:integer, attributeName: string
-
Run migration
node_modules/.bin/sequelize db:migrate