2024 Sale!HyperSaas is on sale for a limited time, get 50% off!


Getting Up and Running Locally

Getting Up and Running Locally without Docker

  1. Create a virtualenv:
    python3.11 -m venv <virtual env path>

or with

    virtualenv -p python3.11 <virtual env path>

For example, if you would like to create a virtualenv with the name 'venv', change into to directory, and then

    python3.11 -m venv venv
  1. Activate the virtualenv you have just created:
    source <virtual env path>/bin/activate
  1. Install development requirements:
    pip install -r requirements/local.txt
  1. Create a new database
    createdb --username=postgres <database_name>
  1. Set the environment variables for your database:
    export DATABASE_URL=postgres://postgres:<password>@<database_name>

(Change the part postgres:< password > according to the username and password in your system)

    export CELERY_BROKER_URL=redis://localhost:6379/0
  1. Run this command when not using Docker
    export USE_DOCKER=no
  1. Apply migrations:
    python manage.py migrate
  1. Run the application
    python manage.py runserver
  1. For Celery, run


    celery -A config.celery_app worker --loglevel=info
  1. If you would like to test the emails with Mailhog, you should first download Mailhog and run it. Settings for Mailhog:
    export EMAIL_HOST=''

Then you can check the emails on