Skip to content

africa-covid-19-response-toolkit/covid-19-hotel-vacany

Repository files navigation

covid19.quarantine

Dashboarding of quarantine center capacity & utilization

Built with Cookiecutter Django Black code style
License:MIT

Basic Commands

Setting Up Your Users

  • To create an superuser account, use this command:

    $ python manage.py createsuperuser
    

Running

The following details how to deploy this application.

Database setting

Postgres container with GIS support

` docker run --name=postgis -d -e POSTGRES_USER=<username> -e POSTGRES_PASS=<password> -e POSTGRES_DBNAME=<db_name> -p 5432:5432 kartoza/postgis:9.6-2.4 `

Export the database URL in your shell

` export DATABASE_URL="postgres://<username>:<password>@localhost:5432/<db_name>" `