quiz-the-word/config.py

13 lines
336 B
Python
Raw Normal View History

2020-11-28 22:12:24 -08:00
from os import environ
from pathlib import Path
from dotenv import load_dotenv
basedir = Path(__file__)
load_dotenv(str(basedir / ".env"))
SECRET_KEY = environ.get("SECRET_KEY")
AWS_ACCESS_KEY_ID = environ.get("AWS_ACCESS_KEY_ID")
AWS_SECRET_ACCESS_KEY = environ.get("AWS_SECRET_ACCESS_KEY")
REGION_NAME = environ.get("REGION_NAME")