Hacking Baseball is an application that predicts the outcome of a baseball games and provides users with the best odds from local score books.
Before you begin, ensure you have met the following requirements:
- You have installed Conda.
-
Clone the repository:
git clone git@github.com:JackHalley/hackingbaseballv2.git cd hackingbaseballv2
-
Create a new Conda environment using the
environment.yml
file:conda env create -f environment.yml
-
Activate the environment:
conda activate hbv2
-
Install the dependencies from
requirements.txt
:pip install -r requirements.txt
- Set the required environment variables. You can create a
.env
file in the root directory of the project with the following content:FLASK_APP=app.py FLASK_ENV=development
To run the Flask application, use the following command:
flask run