Skip to content

Latest commit

 

History

History
23 lines (23 loc) · 621 Bytes

README.md

File metadata and controls

23 lines (23 loc) · 621 Bytes

FPL Assistant

The API for the FPL Assistant

Local Setup

Perform the following steps:

  1. Install requirements in either a virtualenv or your system
    $ pip install -r requirements.txt
  2. Source the setup.sh file
    $ source setup.sh <path-to-volume-mount>
    where, path-to-volume-mount refers to the absolute path to the DB volume
  3. Initialize database
    $ flask initdb
    Need to run on the first run but not necessary every time
  4. Run API
    $ flask run

Now the API should be accessible at port 5000 on localhost