Installation

Code repository: https://github.com/math-a3k/covid-ht

Requirements

  • A working Python 3.6 or newer (3.10 recommended) installation so you can issue succesfully its version:

> python --version
  • A working git installation so you can so you can issue succesfully its version:

> git --version

Steps

  • Clone the repository:

> git clone https://github.com/math-a3k/covid-ht
  • Change into the directory, create a virual environment, activate it and install the requirements:

> cd covid-ht
> pythom -m venv .env
> source .env/bin/activate
> pip install -r requirements.txt
  • Collect the static files and run the test suite:

    > python manage.py collectstatic > pythom manage.py test

  • Review the Example Data settings, set them accordingly, and then run the migrations:

> python manage.py migrate
  • Create a superuser:

> python manage.py createsuperuser

After this, the installation should be complete, you may run the development server for testing it:

> python manage.py runserver

Deployment

covid-ht is a Django application with no async features (yet), see this guide for deployment.