diff --git a/README.md b/README.md index 60d72de..34ce9fb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,17 @@ # H_D +import os + + +class Config: + # SECRET_KEY = os.environ.get('SECRET_KEY') or 'your_secret_key' + # SQLALCHEMY_TRACK_MODIFICATIONS = False + + SECRET_KEY = '8665e31a29ab7e12cb0f92c1dbobj1e3a6a15230fb17' + + # SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or + # 'postgresql://username:password@localhost:5432/your dbname' + + SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or ('postgresql://postgres:123456@localhost:54321' + '/mini12306_python') + SQLALCHEMY_TRACK_MODIFICATIONS = False