Add enviroment variables

This commit is contained in:
Michał Gdula 2023-05-04 13:11:08 +03:00
parent dbd6a81c78
commit fda3fcc28c
5 changed files with 17 additions and 9 deletions

View file

@ -1,4 +1,7 @@
SECRET_KEY = 'dev'
import os
SECRET_KEY = os.getenv('SECRET_KEY')
BEARER_TOKEN = os.getenv('BEARER_TOKEN')
SQLALCHEMY_DATABASE_URI = 'sqlite:///db.sqlite'
SQLALCHEMY_TRACK_MODIFICATIONS = False