Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 977 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 977 Bytes

README

A Flask server for serving results from flea-pipeline and visualizing them with flea-web-app.

Dependencies

Python dependencies are listed in requirements.in. Install using pip-tools, or just call pip -r requirements.txt.

Setup

A build of flea-web-app is expected to be in flea_server/static/web-app.

By default, results from the FLEA pipeline go in their directories in the results directory, e.g.:

./results/P018/session.json
./results/P018/session.zip

Update the configuration file flea_server/config.py to specify a different results directory.

Running

For development purposes, just use the Flask server:

python run_flea_server.py

For deployment, this server has been tested with Gunicorn and Nginx.