mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-03 12:14:12 +01:00
Documentation update.
This commit is contained in:
@@ -6,7 +6,7 @@ Requirements
|
||||
============
|
||||
|
||||
- `Python version 2.6+ <http://python.org/>`_
|
||||
- `Django version 1.2+ <http://docs.djangoproject.com/en/dev/intro/install/#intro-install>`_
|
||||
- `Django version 1.3+ <http://docs.djangoproject.com/en/dev/intro/install/#intro-install>`_
|
||||
- `south version 0.7+ <http://south.aeracode.org/>`_
|
||||
- `ldap python module <http://www.python-ldap.org/>`_
|
||||
|
||||
@@ -56,6 +56,10 @@ available:
|
||||
|
||||
You may change its password the first time you log into Modoboa.
|
||||
|
||||
Finally, create the directory that will contain static content::
|
||||
|
||||
$ python manage.py collectstatic
|
||||
|
||||
Time zone and language
|
||||
----------------------
|
||||
|
||||
@@ -249,6 +253,10 @@ requires a migration.
|
||||
0.9: global UI refactoring, new *limits* extension and more
|
||||
-----------------------------------------------------------
|
||||
|
||||
.. note::
|
||||
This version requires at least django 1.3. Make sure to update your
|
||||
version before starting to migrate.
|
||||
|
||||
.. note::
|
||||
Many files have been renamed/removed for this version. I recommend
|
||||
that you backup important files (*settings.py*, etc.) elsewhere
|
||||
@@ -280,6 +288,18 @@ requires a migration.
|
||||
'django.contrib.auth.backends.ModelBackend',
|
||||
)
|
||||
|
||||
#. Add ``django.contrib.staticfiles`` to ``INSTALLED_APPS``
|
||||
|
||||
#. Add the following new variables::
|
||||
|
||||
STATIC_ROOT = os.path.join(MODOBOA_DIR, 'sitestatic')
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
#. Update the following variables (just copy/paste their new values)::
|
||||
|
||||
MEDIA_ROOT = os.path.join(MODOBOA_DIR, 'media')
|
||||
MEDIA_URL = '/media/'
|
||||
|
||||
#. **For MySQL users only**, add the following option to your database
|
||||
configuration::
|
||||
|
||||
@@ -300,7 +320,12 @@ requires a migration.
|
||||
|
||||
$ ./manage.py syncdb --migrate
|
||||
|
||||
#. If you are4 using the *stats* extension, please rename the
|
||||
#. Run the following command to initialize the directory that contains
|
||||
static files::
|
||||
|
||||
$ ./manage.py collectstatic
|
||||
|
||||
#. If you are using the *stats* extension, please rename the
|
||||
*<modoboa_dir>/static/stats* directory to *<modoboa_dir>/static/graphs*
|
||||
|
||||
#. Restart the python instance(s) that serve *Modoboa*
|
||||
|
||||
Reference in New Issue
Block a user