The Official Scouting App Presented By Team 334
video.mp4
Raspberry PI Local Install https://docs.google.com/document/d/1M9b2T-DrkaLq0EBT1hQqs_XhuhEjtLw3hJQsBVWiQsk/edit?usp=sharing
- Clone the repo:
git clone https://github.com/team334/Castle
- 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
HOST=localhost
PORT=5000
- 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 -m app