]> git.cworth.org Git - turbot/blobdiff - turbot.wsgi.in
Add notes on how to update the Google sheets credentials
[turbot] / turbot.wsgi.in
index 5a260bfa3446bf0f5328deaadbe6496fee561f88..71349343c71778c30ebc54a6ab9042a8a65c2c74 100644 (file)
@@ -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