Skip to content

RobSpectre/Somebody-Put-Something-In-My-Ring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Somebody Put Something In My Ring

My colleague Michael Selvidge made a service called Callin' Oates. It became pretty popular.

I ported his code to Python, but something happened in the translation.

Usage

Call this number - (646)606-2607.

Or go to the website.

Hacking

Installation

Requires Python 2.5 or greater.

  1. Clone repo:
git clone git@github.com:RobSpectre/Somebody-Put-Something-In-My-Ring.git
  1. Install dependencies:
cd Somebody-Put-Something-In-My-Ring
pip install -r requirements.txt
  1. Login to Twilio (or signup for account).

  2. Create new TwiML App for Somebody Put Something In My Ring.

  3. Configure local_settings.py with your Twilio account details or use environment variables.

export ACCOUNT_SID='ACxxxxxxxxxxxxxxxxx'
export AUTH_TOKEN='yyyyyyyyyyyyyyyyyyyy'
export RAMONES_APP_SID='APzzzzzzzzzzzzz'
export RAMONES_CALLER_ID='+17778889999'
  1. Launch dev server.
python web.py

Note - a Procfile is included if you would prefer to use Foreman.

Structure

  • app.py - Core Flask app.
  • templates/index.html - Main webpage with Twilio Client integration.
  • static/ - Root of all static files, including JS and CSS.

Deployment

This app is currently running on Heroku, but can be deployed to any WSGI compliant hosting provider. If it runs Python, it should be able to run this project.

Testing

Use nose or simply run from root:

python tests

Technologies

  • Flask - Python microframework. Makes all this go.
  • Skeleton - Easy CSS framework for responsive design (resize the browser window and marvel!)
  • Heroku - Uber easy cloud hosting for Python (and lesser) apps.
  • Twilio, of course.

Credits

githalytics.com alpha

About

A port of Callin' Oates to Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published