X-Git-Url: https://git.cworth.org/git?p=turbot;a=blobdiff_plain;f=turbot.wsgi.in;h=71349343c71778c30ebc54a6ab9042a8a65c2c74;hp=7817355aa2f619cc650b6b6002512ce69d05ccbc;hb=HEAD;hpb=d51d8d536e56d27fc6ed3c15db112ed07987525b diff --git a/turbot.wsgi.in b/turbot.wsgi.in index 7817355..7134934 100644 --- a/turbot.wsgi.in +++ b/turbot.wsgi.in @@ -1,7 +1,10 @@ import sys +import os sys.path.insert(0, '${DEPLOY_DIR}') from dotenv import load_dotenv -load_dotenv('${DEPLOY_DIR}/.turbot.env') +load_dotenv('${DEPLOY_DIR}/.slack-creds.env') -from turbot import app as application +os.environ['TURBOT_DEPLOY_DIR']='${DEPLOY_DIR}' + +from turbot_flask.turbot import app as application