Phone number: On the twilio account page, testing phone numbers must be verified.
Environment variables: Set TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, MY_NUM, and TWILIO_NUM locally and on Heroku app settings.
Start MongoDB, runs on default port 27017
mongod
Start server, runs on port 5000
foreman start
or
TWILIO_ACCOUNT_SID=123abc TWILIO_AUTH_TOKEN=123abc MY_NUM=+12345678910 TWILIO_NUM=+12345678911 foreman start
MongoDB CMI
mongo
Diagnostics on port 28017
Deploy to Heroku from command line:
git push heroku master