-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- API call logging is now capturing city/state for easier reading of
what calls are comming in - Moved load_dotenv(ENVFILE) out of db/config and enclave_wrangler/config into backend.config. If you import that, it will get loaded - Working on make_new_versions_of_csets for N3C Recommended updates
- Loading branch information
Showing
8 changed files
with
407 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import os | ||
from dotenv import load_dotenv | ||
|
||
APP_ROOT = os.path.dirname(os.path.realpath(__file__)) | ||
PROJECT_ROOT = os.path.realpath(os.path.join(APP_ROOT, '..')) | ||
ENV_DIR = os.path.join(PROJECT_ROOT, 'env') | ||
OUTPUT_DIR = os.path.join(PROJECT_ROOT, 'output') | ||
ENV_FILE = os.path.join(ENV_DIR, '.env') | ||
load_dotenv(ENV_FILE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.