GameExpo23/GameExpo/website/config.py
Michał Gdula a4ebfa8552 Fuck so much to comment on
Renamed the folders and containers to something more reasonable
Using .env file for secretes so I can better hide them from git
Mostly it, I think
2023-06-09 22:27:30 +03:00

15 lines
282 B
Python

import os
# Purely to make the code a bit more readable
def env(key):
return os.getenv(key)
# SECRET_KEY = env("FLASK_KEY")
SECRET_KEY = "dev"
SQLALCHEMY_DATABASE_URI = "sqlite:///site.db"
MIGRATION_DIR = "/data/storage/migrations"
INSTANCE_DIR = "/data/storage/instance"