Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A port of Callin' Oates to Python

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 static
Octocat-spinner-32 templates
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 app.py
Octocat-spinner-32 local_settings.py
Octocat-spinner-32 requirements.txt
README.md

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

2) Install dependencies:

cd Somebody-Put-Something-In-My-Ring
pip install -r requirements.txt

3) Login to Twilio (or signup for account).

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

5) 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'

6) 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

Something went wrong with that request. Please try again.