import everything in util.imports
then import from util.import import *
from Team17.config import file_config
config = file_config()
config.get('SECTION','key')
from Team17.util import logger
log = logger.getLogger(name)
log.info("for info")
log.error("for error")
log.exception("for raising exception")
from Team17.util import fetch_query, update_query
result = fetch_query(query)
webhook: python webhook.py
./ngrok http 5000
service: python app.py
./ngrok http 30000
go to frontend/hackaton
npm install
npm start
The webhook.py is a flask app that has to be run and need to have a public url
update the urls in config.ini in the section [TWIML]
This is again a flask app and should be run in prod in a webserver like gunicorn or nginx