Skip to content
Snippets Groups Projects
Verified Commit 5c9e3d87 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Update development docs to use runuwsgi

parent 194e1719
No related branches found
No related tags found
Loading
Pipeline #6169 failed
......@@ -78,12 +78,14 @@ Running the development server
------------------------------
The development server can be started using Django's ``runserver`` command.
If you want to automatically start other necessary tools in development,
like the `Celery` worker and scheduler, use ``runuwsgi`` instead.
You can either configure AlekSIS like in a production environment, or pass
basic settings in as environment variable. Here is an example that runs the
development server against a local PostgreSQL database with password
`aleksis` (all else remains default) and with the `debug` setting enabled::
ALEKSIS_debug=true ALEKSIS_database__password=aleksis poetry run ./manage.py runserver
ALEKSIS_debug=true ALEKSIS_database__password=aleksis poetry run ./manage.py runuwsgi
.. figure:: /screenshots/index.png
:scale: 50%
......@@ -95,3 +97,4 @@ development server against a local PostgreSQL database with password
.. _Poetry: https://poetry.eustace.io/
.. _Poetry installation methods: https://poetry.eustace.io/docs/#installation
.. _Yarn: https://yarnpkg.com
.. _Celery: https://celeryproject.org/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment