Django package for lactate threshold analyses
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for lactolyse-0.9.0a15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3080eb2923f39e5b9c3f4981f1073be501413e4eefc699038bc61ecf0d0962b |
|
MD5 | d7700578a7918090f0f79f4425a7ca27 |
|
BLAKE2b-256 | 7d79cbc2b5be90800691fd5f7b9f825d6d1c7a93da4e7f75a8ddb54298808765 |