mirror of
https://github.com/postgres/pgweb.git
synced 2026-01-14 03:17:45 +00:00
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:
@ -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::
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user