summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authoretienne2010-06-08 09:39:39 +0000
committeretienne2010-06-08 09:39:39 +0000
commit7b151c02b44090fa9bad0e04b878962bde98c6a2 (patch)
treef978e1e8faaccf9120e866dc2679930a5443c932 /docs
parent1963a111cb90d3bdb32749a18c3fd5c3d351c161 (diff)
Update documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/INSTALL.t2t32
1 files changed, 21 insertions, 11 deletions
diff --git a/docs/INSTALL.t2t b/docs/INSTALL.t2t
index 2f688dd..d5a828a 100644
--- a/docs/INSTALL.t2t
+++ b/docs/INSTALL.t2t
@@ -7,7 +7,6 @@ Last update: %%date(%m-%d-%Y)
++ Prerequisites ++
- [python http://www.python.org/] versions 2.5, 2.6 or 2.3, 2.4 with [pysqlite http://oss.itsystementwicklung.de/trac/pysqlite/]
-- [python-markdown http://sourceforge.net/projects/python-markdown/]
- [django http://www.djangoproject.com/] version 1.0
- [apache http://www.apache.org/] 2.x with [mod_python http://www.modpython.org/ 3.x]
- [gettext http://www.gnu.org/software/gettext/]
@@ -15,6 +14,10 @@ Last update: %%date(%m-%d-%Y)
The simple way to obtain theses elements is to get package from your favourite linux distribution (i.e. packages python, python-django, python-markdown, gettext, apache2 and libapache2-mod-python in Debian Lenny). Otherwise refer to the sites of these applications.
+Optionnal requesite:
+
+- [tinymce http://tinymce.moxiecode.com/]: Javascript WYSIWYG Editor. If you want to use it don't forget to edit TINYMCE_URL in settings.py.
+
+++ Getting the sources +++
The last "stable" version is available in this [directory http://www.peacefrogs.net/download/].
@@ -58,16 +61,6 @@ In the directory Papillon, put up a symbolic link to the basic styles django (ch
ln -s /usr/share/python-support/python-django/django/contrib/admin/media/ .
```
-Modify urls.py. At line:
-
-```
-(r'^papillon/static/(?P<path>.*)$', 'django.views.static.serve',
- {'document_root': 'static/'}),
-```
-
-Modify static/ by the local path to static content (for instance /var/local/django/papillon/papillon/static).
-
-
++ Database initialisation ++
In the directory Papillon simply:
@@ -129,6 +122,23 @@ PythonInterpreter papillon
</Location>
```
+Or if you want to use a virtual domain:
+
+```
+<VirtualHost *:80>
+ServerName papillon.youdomain.net
+# directory path to the father of the installation of Papillon
+PythonPath "['/var/local/django/papillon/'] + sys.path"
+SetHandler python-program
+PythonHandler django.core.handlers.modpython
+SetEnv DJANGO_SETTINGS_MODULE papillon.settings
+# set it to on or off if in test or production environment
+PythonDebug On
+# put differents interpreter names if you deploy several Papillon
+PythonInterpreter papillion
+</VirtualHost>
+```
+
Active this site, reload Apache and now your Papillon "can fly".
```