Images | Images |
---|---|
- Clone the repo
- Create a database in MongoDB compass:
- Create
.env
file in root directory, should look similar to this
SECRET_KEY=your_secret_key
MONGO_URI=mongodb://localhost:27017/scouting_app
TBA_AUTH_KEY=your_tba_api_key
DEBUG=False
- Make a virtual environment:
python -m venv venv
- To activate (type into command line):
- Windows:
- Cmd:
venv\Scripts\activate
- Powershell:
venv\Scripts\Activate.ps1
- Cmd:
- MacOS & Linux:
source ./venv/bin/activate
- Windows:
- Install the dependencies:
pip install -r requirements.txt
- Run the app through (in parent directory outside of app):
python app/app.py