Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 899 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 899 Bytes

Build Status

Local Development

  1. Install Node brew install node
  2. Install Mongo DB brew install mongodb
  3. Setup Environment variables cp .env.dist .env
mongod --dbpath ./data
npm start

You might find https://ngrok.com/ is useful for manually testing integration with SMS Gateways.

npm test

Creating a new deployment environment

  1. Create Heroku app with NodeJs buildpack
  2. Add MongoLab Hobby Add On
  3. Set environment variables from .env.dist
  4. Set up callback url on SMS Gateway

Deployment

  • development: Travis builds on merge/push to master
  • staging: developer promotes through Heroku pipeline
  • production: admin promotes through Heroku pipeline