[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-cvs] [SCM] Savane-cleanup framework branch, master, updated. c
From: |
Sylvain Beucler |
Subject: |
[Savannah-cvs] [SCM] Savane-cleanup framework branch, master, updated. c8435f819fdfc4bbdc144ef0bd1298eccc81b0e5 |
Date: |
Mon, 27 Jul 2009 08:26:36 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Savane-cleanup framework".
The branch, master has been updated
via c8435f819fdfc4bbdc144ef0bd1298eccc81b0e5 (commit)
from 9aeee6d17a4ab227ee3f17aed2baa467f39ef8de (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/savane-cleanup/framework.git/commit/?id=c8435f819fdfc4bbdc144ef0bd1298eccc81b0e5
commit c8435f819fdfc4bbdc144ef0bd1298eccc81b0e5
Author: Sylvain Beucler <address@hidden>
Date: Mon Jul 27 10:26:32 2009 +0200
Update documentation wrt directory layout
diff --git a/INSTALL b/INSTALL
index 251d760..ca542a4 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,13 +1,13 @@
* Directory Description
-- 'savane/' directory containts all the python(django) code.
+- 'src/' directory containts all the python(django) code.
- 'media/' all the css and images
- 'template/' all the templates that are necessary to run savane
-* Debian Packages
+* Dependencies as Debian packages
apt-get install mysql-server python-django python-mysqldb
@@ -27,6 +27,7 @@ needed to connect to the MySQL database.
* Run for testing:
You can test your install using:
+ $ cd src/
$ python manage.py runserver
@@ -42,7 +43,7 @@ apt-get install libapache2-mod-python
SetEnv DJANGO_SETTINGS_MODULE settings
#PythonOption django.root /myapp
PythonDebug On
- PythonPath "['/var/www/framework/savane'] + sys.path"
+ PythonPath "['/var/www/framework/src'] + sys.path"
</Location>
<Location "/media">
SetHandler None
@@ -66,7 +67,7 @@ apt-get install python-flup
httpd.conf:
- DocumentRoot /var/www/framework/savane
+ DocumentRoot /var/www/framework/src
SuexecUserGroup myuser mygroup
Alias /media
/usr/share/python-support/python-django/django/contrib/admin/media
@@ -74,7 +75,7 @@ httpd.conf:
Alias /css /var/www/framework/media/css
Alias /images /var/www/framework/media/images
- <Directory "/var/www/framework/savane">
+ <Directory "/var/www/framework/src">
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ savane.fcgi/$1 [qsappend,last]
@@ -87,7 +88,7 @@ savane.fcgi:
import sys, os
# Add a custom Python path.
-sys.path.insert(0, "/var/www/framework/savane")
+sys.path.insert(0, "/var/www/framework/src")
# Switch to the directory of your project. (Optional.)
# os.chdir("/home/user/myproject")
diff --git a/src/settings.py b/src/settings.py
index 13e6a44..58f29aa 100644
--- a/src/settings.py
+++ b/src/settings.py
@@ -90,6 +90,6 @@ INSTALLED_APPS = (
'django.contrib.sessions',
'django.contrib.sites',
# 'django.contrib.admin',
- 'savane.my',
- 'savane.main',
+# 'savane.my',
+# 'savane.main',
)
-----------------------------------------------------------------------
Summary of changes:
INSTALL | 13 +++++++------
src/settings.py | 4 ++--
2 files changed, 9 insertions(+), 8 deletions(-)
hooks/post-receive
--
Savane-cleanup framework
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Savannah-cvs] [SCM] Savane-cleanup framework branch, master, updated. c8435f819fdfc4bbdc144ef0bd1298eccc81b0e5,
Sylvain Beucler <=