I had originally chosen a generic name hoping that I could cram all
of our various credentials into this one file. But, alas, the Google
docs. credentials really want to be in a JSON file so they will be
separate.
Given that, I'll give each file a specific name, starting with this
Slack-specific file.
turbot.wsgi
-.turbot.env
+.slack-creds.env
__pycache__
DEPLOY_DIR=/srv/halibut.cworth.org/turbot
export DEPLOY_DIR
DO_NOT_DEPLOY=env .gitignore
-DO_NOT_DELETE=.turbot.env
+DO_NOT_DELETE=.slack-creds.env
help:
@echo "Available targets (in rough order of expected use):"
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