summaryrefslogtreecommitdiffstats
path: root/doc/database.rst
blob: c09f132b63180b0356eccf42610af511fbdc8515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 hyperkitty_standalone/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 calling
``kittystore-download21``. If you're installing hyperkitty on the machine which
hosted the previous version of mailman, the archives are already available
locally and you can use them directly.

.. note::
    If you're using SQLite and you're getting "Database is locked" errors, stop
    your webserver during the import.