If you’re interested in using Twilio with your Ruby apps but are not very familiar with creating and deploying web apps in Sinatra or Heroku, the Twilio Hackpack for Heroku and Sinatra is now available. Fork it now.
This hackpack gives developers a simple way to build a full-fledged Sinatra app with Twilio integration. No need to worry about setting up a phone number, your application SID, redirect routes or Heroku config. Focus on the good stuff – actually writing your app.
To start using the hackpack:
Fork it from github
git clone git://github.com/labcoder/Twilio-Hackpack-for-Heroku-and-Sinatra.git
Install necessary gems:
Create your Heroku app:
heroku create --stack cedar
Run the configuration file with your twilio accountSID and twilio authToken:
ruby configure.rb --sid ACXXXXXXX --token YYYYYYYY
Start your app locally:
Deploy online to Heroku:
git push heroku master
If you are building with Python instead of Ruby, check out this hackpack for Flask and Heroku by Rob Spectre.
- Warm Transfer with Ruby and Rails
- Setting up a Ruby Local Dev Environment
- How to Send a Tweet with SMS (Send and Receive Tweets Using SMS: Part 2)
- How to build an On-Demand Translation Service Using Twilio MMS, CamFind and Microsoft Translator
- Real Time Rails 4: Using Server-Sent Events with Authy OneTouch