$ conda create -n twilio-test python=3.4.1
$ source activate twilio-test
$ pip install -r requirements.txt
(Note, I use conda to manage python, could just use a virtualenv)
Get your environment variables ready
$ cp example.env .env
Edit .env with all the correct variables, then run.
$ source .env
$ python manage.py migrate
$ python manage.py runserver
Your app should now be running on localhost:8000.
If you have already install heroku toolbelt, which has foreman included, then you can use foreman and your app will be running on localhost:5000.
$ foreman start
Install the Heroku Toolbelt.
$ heroku create
$ git push heroku master
$ heroku run python manage.py migrate
$ heroku open
Don't forget to set the heroku environment variables, either through
$ heroku config:set XXX=
or through the heroku dashboard (under settings)