Skip to content

Commit

Permalink
backend: update requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkatsios committed Jan 11, 2024
1 parent 4b21119 commit 41d0116
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# BetEdge
An extensible dockerized full stack sports betting arbitrage application in Python.

See .env.example in root and /backend for environment variables.
4 changes: 2 additions & 2 deletions backend/ArbBackend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@

DB_NAME = os.getenv("DB_NAME")
DB_USER = os.getenv("DB_USER")
DB_PASSWORD = os.getenv("DB_PASSWORD")
DB_PASS = os.getenv("DB_PASS")
DB_HOST = os.getenv("DB_HOST")
DB_PORT = os.getenv("DB_PORT")

Expand All @@ -95,7 +95,7 @@
'ENGINE': 'django.db.backends.mysql',
'NAME': DB_NAME,
'USER': DB_USER,
"PASSWORD": DB_PASSWORD,
"PASSWORD": DB_PASS,
"HOST": DB_HOST,
"PORT": DB_PORT,
}
Expand Down
1 change: 1 addition & 0 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ kombu==5.3.4
mysqlclient==2.2.0
prompt-toolkit==3.0.43
python-dateutil==2.8.2
python-dotenv==1.0.0
pytz==2023.3
redis==5.0.1
six==1.16.0
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
env_file:
- .env # Add environment variables from file
environment:
# Credentials used to connect to db from db.py __init__ method
# Credentials used to connect to db from settings.py
# Located in root .env file
- DB_HOST=${DB_HOST}
- DB_PORT=${DB_PORT}
Expand Down

0 comments on commit 41d0116

Please sign in to comment.