diff options
author | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2010-06-08 09:39:39 +0000 |
---|---|---|
committer | etienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35> | 2010-06-08 09:39:39 +0000 |
commit | 7b151c02b44090fa9bad0e04b878962bde98c6a2 (patch) | |
tree | f978e1e8faaccf9120e866dc2679930a5443c932 /docs | |
parent | 1963a111cb90d3bdb32749a18c3fd5c3d351c161 (diff) | |
download | Papillon-7b151c02b44090fa9bad0e04b878962bde98c6a2.tar.bz2 Papillon-7b151c02b44090fa9bad0e04b878962bde98c6a2.zip |
Update documentation
Diffstat (limited to 'docs')
-rw-r--r-- | docs/INSTALL.t2t | 32 |
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". ``` |