diff --git a/.ebignore b/.ebignore new file mode 100644 index 0000000..0a389e1 --- /dev/null +++ b/.ebignore @@ -0,0 +1,8 @@ +# Elastic Beanstalk Files +.elasticbeanstalk/* +!.elasticbeanstalk/*.cfg.yml +!.elasticbeanstalk/*.global.yml + +.idea/ +__pycache__/ +venv/ diff --git a/.gitignore b/.gitignore index 2feb93a..c7fcc5e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ .env .idea/ __pycache__/ +venv/ diff --git a/config.py b/config.py index 3c6b608..eaebaf6 100644 --- a/config.py +++ b/config.py @@ -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") diff --git a/requirements.txt b/requirements.txt index 93b1557..41cda69 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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