The API for the FPL Assistant
Perform the following steps:
- Install requirements in either a virtualenv or your system
$ pip install -r requirements.txt
- Source the setup.sh file
where, path-to-volume-mount refers to the absolute path to the DB volume
$ source setup.sh <path-to-volume-mount>
- Initialize database
Need to run on the first run but not necessary every time
$ flask initdb
- Run API
$ flask run
Now the API should be accessible at port 5000 on localhost