Skip to content

This is an experimental reimplementation of courtbot using python.

Notifications You must be signed in to change notification settings

syk1112/courtbot-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

courtbot-python

This is an experimental reimplementation of courtbot using python. It uses the oscn PyPI library and twilio.

Development

Requirements

  • python
  • A twilio account

Install & Set up locally

  1. pip install -r requirements.txt
  2. cp .env-dist .env and put your own values into .env
  3. python manage.py runserver

Use ngrok to test twilio callbacks

To test twilio callbacks, run ngrok to set up a public domain for your localhost:8000 ...

ngrok http 8000

... then use the public domain url for your number's Messaging "a messages comes in" webhook. E.g., http://34ae567a.ngrok.io/sms/twilio

Note: super annoying, but every time you restart ngrok you'll have to update your twilio number's messaging webhook again. Unless you pay for ngrok.

About

This is an experimental reimplementation of courtbot using python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%