- Clone this repo using
git clone https://github.com/coshx/ffootball.git
. - Build the Anaconda environment.
- Install Anaconda. If you would like a lighter installation, follow the instructions to install Miniconda instead.
cd
into the application root,./ffootball/
- Use
conda env create -f ./ffootball.yml
to install the Python dependencies for the backend. This will create aconda
environment calledffootball
. - Activate the
stocks
environment usingsource activate ffootball
on Linux/OS X oractivate ffootball
on Windows. You can deactivate the conda environment usingsource deactivate
on Linux/OS X ordeactivate
on Windows.
- With the
ffootball
environment activated, runpython backend.py
from./ffootball/backend
. - Navigate to http://localhost:8000 to verify that you see the "Success!" message.
- By default, the server runs on port 8000, you can specify the port by including a command line flag:
python app.py --port=5678
.