- Install Node
brew install node
- Install Mongo DB
brew install mongodb
- 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
- Create Heroku app with NodeJs buildpack
- Add MongoLab Hobby Add On
- Set environment variables from .env.dist
- Set up callback url on SMS Gateway
- development: Travis builds on merge/push to master
- staging: developer promotes through Heroku pipeline
- production: admin promotes through Heroku pipeline