Fixed issue with environment variables not being set
This commit is contained in:
parent
f9ea730711
commit
fa5c9a1f1a
8
.ebignore
Normal file
8
.ebignore
Normal file
@ -0,0 +1,8 @@
|
||||
# Elastic Beanstalk Files
|
||||
.elasticbeanstalk/*
|
||||
!.elasticbeanstalk/*.cfg.yml
|
||||
!.elasticbeanstalk/*.global.yml
|
||||
|
||||
.idea/
|
||||
__pycache__/
|
||||
venv/
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@
|
||||
.env
|
||||
.idea/
|
||||
__pycache__/
|
||||
venv/
|
||||
|
@ -1,10 +1,8 @@
|
||||
from os import environ
|
||||
from pathlib import Path
|
||||
from dotenv import load_dotenv
|
||||
|
||||
|
||||
basedir = Path(__file__)
|
||||
load_dotenv(str(basedir / ".env"))
|
||||
load_dotenv(".env")
|
||||
|
||||
SECRET_KEY = environ.get("SECRET_KEY")
|
||||
AWS_ACCESS_KEY_ID = environ.get("AWS_ACCESS_KEY_ID")
|
||||
|
@ -1,5 +1,16 @@
|
||||
boto3==1.16.18
|
||||
botocore==1.19.18
|
||||
Flask==1.1.2
|
||||
boto3==1.16.25
|
||||
botocore==1.19.25
|
||||
click==7.1.2
|
||||
dynamodb-json==1.3
|
||||
python-dotenv>=0.15.0
|
||||
Flask==1.1.2
|
||||
itsdangerous==1.1.0
|
||||
Jinja2==2.11.2
|
||||
jmespath==0.10.0
|
||||
MarkupSafe==1.1.1
|
||||
python-dateutil==2.8.1
|
||||
python-dotenv==0.15.0
|
||||
s3transfer==0.3.3
|
||||
simplejson==3.17.2
|
||||
six==1.15.0
|
||||
urllib3==1.26.2
|
||||
Werkzeug==1.0.1
|
||||
|
Loading…
Reference in New Issue
Block a user