Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 642 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 642 Bytes

twetbot

twetbot finds twets

configuration

twetbot uses .env files for configuration. make sure you've installed from requirements-dev as python-dotenv is necessary for these variables to be picked up by flask.

dev server stuff

to run a local development server with nice flask things like auto-reload, etc:

$ flask run

you can access the running server at http://localhost:5000

use ngrok to easily tunnel your local server so slack can see it. use the /challenge endpoint to verify when subscribing to events.

deployment

tbd.

using gunicorn:

$ gunicorn -w 1 wsgi:app