From: Carl Worth Date: Tue, 29 Sep 2020 22:05:21 +0000 (-0700) Subject: Rename .turbot.env to .slack-creds.env X-Git-Url: https://git.cworth.org/git?p=turbot;a=commitdiff_plain;h=73db7d877be08977accdf41cbbf8ef95347304c4 Rename .turbot.env to .slack-creds.env 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. --- diff --git a/.gitignore b/.gitignore index 7f4f9db..88a4036 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ turbot.wsgi -.turbot.env +.slack-creds.env __pycache__ diff --git a/Makefile b/Makefile index 3d10512..defacbe 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ DEPLOY_HOST=halibut.cworth.org 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):" diff --git a/turbot.wsgi.in b/turbot.wsgi.in index 5a260bf..e594279 100644 --- a/turbot.wsgi.in +++ b/turbot.wsgi.in @@ -2,6 +2,6 @@ import sys 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