Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 977 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 977 Bytes

zrok_django_radial_calendar

Web app that plots events on a radial calendar.

events

Production

This project is set up for convenient self-hosting using zrok.io as the authenticating frontend proxy.

The included compose.yml base project file is copied unmodified from the zrok docs.

All customizations for this app are in compose.override.yml.

  1. Create an .env file in the same directory as compose.override.yml.

    # .env
    DJANGO_SECRET_KEY=randomsecret
    ZROK_ENABLE_TOKEN=myzrokaccounttoken
  2. Run the following command to start the server.

    docker compose up --force-recreate --detach --build

Development

pip install -r requirements.txt
DJANGO_SECRET_KEY=$(openssl rand -base64 32) \
    python manage.py runserver