GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codefortulsa/courtbot-python: This is an experimental reimplementation of courtbot using python.

BranchesTags
Open more actions menu

Latest commit

 

History

116 Commits
116 Commits

Folders and files

NameName
Last commit message
Last commit date
alerts
alerts
 
 
api
api
 
 
courtbot
courtbot
 
 
static
static
 
 
staticfiles
staticfiles
 
 
website
website
 
 
.env-dist
.env-dist
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
lambda_function.py
lambda_function.py
 
 
manage.py
manage.py
 
 
requirements.txt
requirements.txt
 
 

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
  • PostgreSQL

Install & Set up locally

  1. pip install -r requirements.txt (if you get an error, make sure postgresql is installed, then add the folder containing pg_config to your path export PATH=”/usr/local/bin:/Library/PostgreSQL/9.6/bin:$PATH”)
  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, and you'll need to change your ALLOWED_HOSTS to include the new ngrok host. Unless you pay for ngrok.

About

This is an experimental reimplementation of courtbot using python.

court.bot/

Topics

civictechindexcode-for-americacode-for-tulsacourt-remindercourtbotcourtbot-pythoncriminal-justicetwilio

Resources

Readme
ISC license
Activity
Custom properties

Stars

20 stars

Watchers

9 watching

Forks

17 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.