Skip to content

Team334/Scouting-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

334 Scouting App

Images Images
Home unlogined Home logined
Scout Add data
Search Compare

Prerequisite

How to install

  1. Clone the repo
  2. Create a database in MongoDB compass:

MongoDB Compass

  1. 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
  1. Make a virtual environment: python -m venv venv
  • To activate (type into command line):
    • Windows:
      • Cmd: venv\Scripts\activate
      • Powershell: venv\Scripts\Activate.ps1
    • MacOS & Linux: source ./venv/bin/activate
  1. Install the dependencies: pip install -r requirements.txt
  2. Run the app through (in parent directory outside of app): python app/app.py