[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 3/3] Provide more complete INSTALL instructions.
From: |
Maxime Petazzoni |
Subject: |
[Maposmatic-dev] [PATCH 3/3] Provide more complete INSTALL instructions. |
Date: |
Sun, 6 Sep 2009 13:06:55 +0200 |
Fix typos and give clearer INSTALL instructions.
---
INSTALL | 41 ++++++++++++++++++++++++++++++-----------
1 files changed, 30 insertions(+), 11 deletions(-)
diff --git a/INSTALL b/INSTALL
index 3b242f0..0c66c32 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,19 +1,38 @@
INSTALLATION NOTES
==================
-www/ contains the Django web application. The file
-www/settings_local.py.template must be copied to www/settings_local.py
-and adapted to the installation configuration. Likewise for
-www/maposmatic.wsgi-template and scripts/maposmaticd.sh
+Dependencies
+------------
-The database must be initialize with the tables needed for MapOSMatic,
+MapOSMatic depends on Python, Django and python-psycodg2. You will also most
+likely need a working PostGIS installation for the entire pipeline to run.
+
+
+Setup
+-----
+
+The www/ directory contains the Django web application. The file
+www/settings_local.py.template must be copied to www/settings_local.py and
+modified to match your installation configuration.
+
+Likewise for www/maposmatic.wsgi-template and scripts/maposmaticd.sh.
+
+The database must then be initialized with the tables needed for MapOSMatic,
using :
- ./www/manage.py syncdb
+ python www/manage.py syncdb
+
+The scripts/maposmaticd daemon should be run in the background. It will fetch
+rendering jobs from the database and put the results in a directory, as
+specified in the settings_local.py file.
+
+
+Internationalization
+--------------------
+
+To get proper internationalisation, you need to compile the gettext locale
files:
-scripts/maposmaticd is the daemon that should be run in the
-background. It will fetch rendering jobs from the database and put the
-results in a directory, as specified in the settings_local.py file.
+ django-admin compilemessages
-To get proper internationalisation, in www/, run:
- python /usr/share/python-support/python-django/django/bin/django-admin.py
compilemessages
+Don't forget to restart the Django server or it won't pick up the new
+translated strings!
--
1.6.3.3.210.g29cb3
Re: [Maposmatic-dev] [PATCH 1/3] Re-add the session application to the INSTALLED_APPS list., Thomas Petazzoni, 2009/09/07