summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Warsaw2014-08-23 17:41:58 -0400
committerBarry Warsaw2014-08-23 17:41:58 -0400
commitb6bc505e45a2f1f4f99d7dd2cdd868d533270ee9 (patch)
tree7d7eb6c59449be771dfa2dd5d93bcc22f18ff55e
parentd4d71f71f08d6d440b17482eecc5472dcfe6cbae (diff)
downloadmailman-b6bc505e45a2f1f4f99d7dd2cdd868d533270ee9.tar.gz
mailman-b6bc505e45a2f1f4f99d7dd2cdd868d533270ee9.tar.zst
mailman-b6bc505e45a2f1f4f99d7dd2cdd868d533270ee9.zip
-rw-r--r--src/mailman/docs/DATABASE.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/docs/DATABASE.rst b/src/mailman/docs/DATABASE.rst
index 229bfe8ed..7e198cd81 100644
--- a/src/mailman/docs/DATABASE.rst
+++ b/src/mailman/docs/DATABASE.rst
@@ -39,7 +39,7 @@ PostgreSQL
First, you need to configure PostgreSQL itself. This `Ubuntu article`_ may
help. Let's say you create the `mailman` database in PostgreSQL via::
- $ sudo -u postgres createdb -O myuser mailman
+ $ sudo -u postgres createdb -O $USER mailman
You would then need to set both the `class` and `url` variables in
`mailman.cfg` like so::
@@ -52,8 +52,8 @@ That should be it.
Note that if you want to run the full test suite against PostgreSQL, you
should make these changes to the ``mailman/testing/testing.cfg`` file (yes,
-eventually we'll make this easier), start up PostgreSQL and run ``bin/test``
-as normal.
+eventually we'll make this easier), start up PostgreSQL, enter the virtual
+environment, and run ``nose2 -vv`` as normal.
If you have any problems, you may need to delete the database and re-create
it::