config.py
Python script, ASCII text executable
1import dotenv 2from os import environ 3 4dotenv.load_dotenv("secrets.env") 5 6DB_PASSWORD = environ["DB_PASSWORD"] 7DB_URI = f"postgresql://gigadata:{DB_PASSWORD}@localhost:5432/gigadata" 8DATA_PATH = "./data" 9ROOT_URL = "http://localhost:8080" 10SITE_NAME = "Development site" 11