Skip to main content

Django package for lactate threshold analyses

Project description

Build Status Version on PyPI Supported Python versions Number of downloads from PyPI Code style: black

Development

This project requires Docker for running analysis and dependencies. If you are not familiar with it, follow the official tutorial.

To install the package in the development (editable) mode, first clone the repository:

$ git@github.com:dblenkus/lactolyse.git
$ cd lactolyse

You should create and activate a fresh virtual environment for this project:

$ python3 -m venv --prompt lactolyse .venv
$ source .venv/bin/activate

And then install it with pip:

$ python -m pip install -e .

Test project is in the tests directory, so you should run the rest of commands in there:

$ cd tests

First start Docker containers for PostgreSQL and Redis services:

$ docker-compose up -d

Then, if you are setting up the environment for the first time, prepare the database:

$ ./manage.py migrate
$ ./manage.py createsuperuser

And finally run the development server and background worker (in two separate terminals):

$ ./manage.py runserver
$ ./manage.py runworker lactolyse.runanalysis

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lactolyse-0.9.0a15.tar.gz (36.1 kB view hashes)

Uploaded Source

Built Distribution

lactolyse-0.9.0a15-py3-none-any.whl (51.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page