Open PranayRaman opened 1 year ago
we need your help!!
Im stuck whit the installation too
same here
The updated Readme does a better job of explaining the workflow of the project. In general though, this isn't a piece of software to be installed. The project focuses on approaching the goal of better predicting the outcomes of NBA games. If you have any specific questions, please let me know.
permission denied when running src/deployment - why is that?
Hmm, let me look at that when I get home tonight. I probably didn't update the Flask login info.
Any update on this? Is there somewhere we need to login to?
I made some updates to src/deployment/web_app.py. Hopefully, this fixes the problem. If you are running the web app for testing and debugging you can use python web_app.py
. Otherwise, if you have gunicorn setup, you can run the app using gunicorn nba_app_wsgi:app
. Either way, the web app and incorporated dashboards require DB_ENDPOINT, DB_PASSWORD, WEB_APP_USERNAME, WEB_APP_PASSWORD, and WEB_APP_SECRET_KEY from your .env
file. Since .env is private and not shown in the public GitHub repo, here is an blank setup of mine:
# DATABASE
DB_ENDPOINT = <>
DB_PASSWORD = <>
# WEB APP
WEB_APP_USERNAME = <>
WEB_APP_PASSWORD = <>
WEB_APP_SECRET_KEY = <> # Session Management
# AIRFLOW
EMAIL_ADDRESS = <> # Error Reporting
# DATA COLLECTION
ZYTE_API_KEY = <> # Scrapy Data Collection
ODDS_API_KEY = <> # On Demand Lines from https://the-odds-api.com/
# PROJECT BASE DIRECTORY - Example: /home/username/documents/NBA_Betting
NBA_BETTING_BASE_DIR = <> # Local
# NBA_BETTING_BASE_DIR = <> # AWS EC2
When I run the python web_app.py command, I get the following error:
Traceback (most recent call last):
File "/home/nan/NBA_Betting-main/src/deployment/web_app/nba_app.py", line 486, in
please include docs to run