Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation to run #51

Open
PranayRaman opened this issue Nov 12, 2023 · 8 comments
Open

Documentation to run #51

PranayRaman opened this issue Nov 12, 2023 · 8 comments

Comments

@PranayRaman
Copy link

please include docs to run

@MarKaliGG
Copy link

we need your help!!

@MarKaliGG
Copy link

Im stuck whit the installation too

@Jonesdane
Copy link

same here

@jeffjohannsen
Copy link
Collaborator

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.

@ard033
Copy link

ard033 commented Dec 1, 2023

permission denied when running src/deployment - why is that?

@jeffjohannsen
Copy link
Collaborator

Hmm, let me look at that when I get home tonight. I probably didn't update the Flask login info.

@ard033
Copy link

ard033 commented Dec 4, 2023

Any update on this? Is there somewhere we need to login to?

@jeffjohannsen
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants