The server for the Sports Stock Market web application
- Download the git
- Install the required packages:
- Using pip, run
pip install -r requirements.txt
- Using Anaconda, run
conda create --name <env> --file environment.yml
where<env>
is the name of your environment to create a new environment for this project (recommended) or runconda env update --file environment.yml
to update your current environment.
- Using pip, run
In order to run this application, run the following commands in the marketserver
folder (with the flask environment active if using Anaconda):
set FLASK_APP=fanbase.py
flask db upgrade
flask run