mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-19 01:44:51 +00:00
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
This commit is contained in:
parent
a29f06dfee
commit
a4ebfa8552
61 changed files with 84 additions and 111 deletions
15
GameExpo/website/config.py
Normal file
15
GameExpo/website/config.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
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"
|
Loading…
Add table
Add a link
Reference in a new issue