X-Git-Url: https://git.cworth.org/git?p=turbot;a=blobdiff_plain;f=turbot.wsgi.in;h=71349343c71778c30ebc54a6ab9042a8a65c2c74;hp=5a260bfa3446bf0f5328deaadbe6496fee561f88;hb=HEAD;hpb=ff26920dffe100e3aaad8cbab829eef0b58b617b diff --git a/turbot.wsgi.in b/turbot.wsgi.in index 5a260bf..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.turbot import app as application +os.environ['TURBOT_DEPLOY_DIR']='${DEPLOY_DIR}' + +from turbot_flask.turbot import app as application