summaryrefslogtreecommitdiffstats
path: root/doc/database.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/database.rst')
-rw-r--r--doc/database.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/database.rst b/doc/database.rst
new file mode 100644
index 0000000..1eb8e9a
--- /dev/null
+++ b/doc/database.rst
@@ -0,0 +1,18 @@
+Setting up the databases
+========================
+
+Now you can create the KittyStore and HyperKitty databases, and set their
+access URLs in ``hyperkitty_standalone/settings.py`` (or
+``hyperkitty_standalone/settings_local.py``). HyperKitty's database can be
+created using the following command::
+
+ python manage.py syncdb
+
+KittyStore's database will be created automatically on first access.
+
+Then, you can run ``kittystore-import`` to import existing archives into the
+mailman database. Thoses archives can be downloaded by a script similar to the
+``get_mbox.py`` script provided in the ``kittystore`` module. If you're
+installing hyperkitty on the machine which hosted the previous version of
+mailman, the archived are already available locally and you can use them
+directly.