myttins / test-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NBA Matchup Predictor

Prerequisites

  • Python 3.9+
  • pip

Installing

  1. Clone the repo.

  2. Create a virtual env (optional)

    python3 -m venv venv && source venv/bin/activate
  3. Install the backend/frontend requirements:

    pip install -r requirements.txt
    npm install --prefix src/frontend
  4. Setup the flask app:

    export FLASK_APP=src/app.py
  5. Build frontend:

    npm run build --prefix src/frontend

Running Locally

  1. Run tests:

    DATABASE_URL="sqlite:///:memory:" pytest
  2. Run the flask app:

    flask run

Built With

About


Languages

Language:Python 69.2%Language:JavaScript 17.9%Language:CSS 6.9%Language:HTML 4.3%Language:Mako 1.6%Language:Procfile 0.1%