Skip to content

Commit

Permalink
Deployment test 12.
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiabernat committed Jan 12, 2025
1 parent 31b4293 commit c9de29f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dash_app/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

import os

# DEV: https://gridcerf.dev.msdlive.org/
# PROD: https://gridcerf.msdlive.org/

# CLIENT (BROWSER) PATHS
PORT = int(os.environ.get("PORT", 8060))
REQUESETS_PATHNAME_PREFIX = "/"
Expand All @@ -14,9 +17,7 @@

if CONNECT_TO_LAMBDA:

print("DEPLOYMENT 11")

# https://gridcerf.dev.msdlive.org/
print("DEPLOYMENT 12")

DATASET_ID = "1ffea-emt93" # MSD-LIVE added dataset id that goes to DEV
DATA_DIR = ""
Expand All @@ -26,7 +27,7 @@
print(" ********** ", "LAMBDA_TASK_ROOT is None")
METADATA_DIR = './metadata'
else:
print("********** ", os.getenv('LAMBDA_TASK_ROOT'))
print("********** LAMBDA_TASK_ROOT is ", os.getenv('LAMBDA_TASK_ROOT'))
METADATA_DIR = os.path.join(LAMBDA_TASK_ROOT, "dash_app", "metadata")

else:
Expand Down

0 comments on commit c9de29f

Please sign in to comment.