A web interface to visualise and explore the UK Biobank
The project is managed using Pipenv. To install this, run pip install --user pipenv
.
Make sure you have Python 3.8 installed, either directly or through the Pyenv version manager. To install the dependencies, run pipenv install
from project root. You can execute normal Python commands through Pipenv, in the form of pipenv run python app.py
.
This project uses pre-commit, in order to install the hooks locally, run $ pre-commit install
.
In order to generate necessary Dash components, ensure that you are in the Python virtual environment (i.e. $ pipenv shell
). Then run $ sh build_custom_components.sh
in the root directory.
To run the app locally:
$ gunicorn --pythonpath src/ app:server
or
$ cd src/ && gunicorn app:server