From cd5c5e302413f8f0d9a16fdbbecf3b8955951ec3 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 4 Nov 2016 15:17:35 +0000 Subject: [PATCH] docs: Bring import of archives up to top-level This applies whether you're using the Docker-, Vagrant- or manual- based installation methods. Signed-off-by: Stephen Finucane --- docs/development/installation.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/development/installation.md b/docs/development/installation.md index 16cb3ae1..bc0eadf4 100644 --- a/docs/development/installation.md +++ b/docs/development/installation.md @@ -292,18 +292,20 @@ using the aptly-named `createsuperuser` command: (.venv)$ ./manage.py createsuperuser +## Import Mailing List Archives + Once this is done, it's beneficial to load some real emails into the system. This can be done manually, however it's generally much easier to download an archive from a Mailman instance and load these using the `parsearchive` command. You can do this like so: - (.venv)$ mm_user=myusername - (.venv)$ mm_pass=mypassword + (.venv)$ mm_user= + (.venv)$ mm_pass= (.venv)$ mm_host=https://lists.ozlabs.org (.venv)$ mm_url=$mm_host/private/patchwork.mbox/patchwork.mbox (.venv)$ curl -F username=$mm_user -F password=$mm_pass -k -O $mm_url -Where `mm_user` and `mm_pass` are the username and password you have registered +where `mm_user` and `mm_pass` are the username and password you have registered with on the Mailman instance found at `mm_host`. **NOTE:** We provide instructions for downloading archives from the Patchwork -- 2.47.3