Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
CSS JavaScript
branch: master
Failed to load latest commit information.
public
views fork me!
.gitignore
Gemfile
Gemfile.lock initial unstyled commit
Procfile adding heroku required files
README.md text tweaks
app.rb messing with time so Firefox can parse it
config.example.yml adding basic README info
config.ru adding heroku required files

README.md

Pusher Twilio Example

A simple example of integrating Twilio and Pusher to very easily create a cool realtime web app.

Blog post describing this project can be found here: https://www.twilio.com/blog/2012/07/pusher-and-twilio-making-realtime-fuctionality-easy.html

To Run this project:

  1. Rename config.example.yml to config.yml.
  2. Register for a pusher account from http://www.pusher.com and Twilio account from: https://www.twilio.com
  3. Put in the credentials into your config.yml file.
  4. Configure your Twilio end point telephone number by going to: https://www.twilio.com/user/account/phone-numbers/ and clicking on your number
  5. Update your Voice Request URL to http://LocationWhereYouAreGoingToHost.com/call
  6. Update your Messaging Request URL to http://LocationWhereYouAreGoingToHost.com/sms
  7. Save your Twilio settings
  8. You are good to go...

For Bonus Points

restyle your web template to look awesome. "index.erb"

How to run locally

  • bundle install
  • ruby app.rb

Open your web browser at http://localhost:4566.

Or, if you have foreman installed.

  • foreman start

Open your web browser at http://localhost:5000.

Something went wrong with that request. Please try again.