Dev install tweaks

Clarify which directory "./manage.py" needs to be run in and how to
setup moderation in a test instance.
This commit is contained in:
Christoph Berg
2026-01-05 22:37:26 +01:00
parent b8f6111917
commit 49651b5537
2 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,7 @@ with. Here's a quick step-by-step on how to do that:
There are some parts of the site that require further settings, but
this should be enough to get the basics up and running.
#. In the pgweb directory run the following command to create all
#. In the top directory run the following command to create all
tables and indexes, as well as create a superuser for your local
installation::

View File

@ -44,6 +44,9 @@ should set the send_notification attribute to True. This will cause
the system to automatically send out notifications to the NOTIFICATION_EMAIL
address whenever a new object is created or an existing one is modified.
To test moderation, create a group "pgweb moderators" and add your user to it.
The moderation URL is /admin/pending/.
If the form contains any text fields that accept markdown, the
attribute markdown_fields should be set to a tuple containing a list
of these fields. This will cause the system to automatically generate