Permalink
Browse files

modified server startup scripts

  • Loading branch information...
1 parent 10c2967 commit fcc120c9e6b355fc0e5e9faa3e6695bb373d2981 activist committed May 11, 2010
Showing with 24 additions and 3 deletions.
  1. +2 −2 deploy/amkt.apache.development
  2. +22 −1 deploy/amkt.wsgi.development
@@ -2,7 +2,7 @@
ServerName dev.activistmarket.org
ServerAlias dev.activistmarket.org
- DocumentRoot /var/www/dev.activistmarket.org
+ DocumentRoot /var/www/dev.amkt
ErrorLog /var/log/apache2/dev.amkt/error_log
CustomLog /var/log/apache2/dev.amkt/access_log common
@@ -13,7 +13,7 @@
#python-path=/opt/eloquentbits/lib/python2.6/site-packages
WSGIProcessGroup amkt-dev
- WSGIScriptAlias / /home/activist/amkt/deploy/amkt.wsgi
+ WSGIScriptAlias / /home/activist/amkt/deploy/amkt.wsgi.development
<Directory /home/activist/amkt/deploy/>
Order deny,allow
Allow from all
@@ -10,8 +10,29 @@ from site import addsitedir
sys.path.insert(0, abspath(join(dirname(__file__), "../../")))
+sys.path[0:0] = [
+ '/home/pk/.buildout/eggs/South-0.7-py2.6.egg',
+ '/home/pk/.buildout/eggs/PIL-1.1.7-py2.6-linux-i686.egg',
+ '/home/pk/.buildout/eggs/python_dateutil-1.5-py2.6.egg',
+ '/home/pk/.buildout/eggs/django_profiles-0.2-py2.6.egg',
+ '/home/pk/.buildout/eggs/django_avatar-1.0.4-py2.6.egg',
+ '/home/pk/.buildout/eggs/django_gravatar-0.1.0-py2.6.egg',
+ '/home/pk/.buildout/eggs/PyYAML-3.09-py2.6-linux-i686.egg',
+ '/home/pk/.buildout/eggs/django_tagging-0.3.1-py2.6.egg',
+ '/home/pk/.buildout/eggs/djangorecipe-0.20-py2.6.egg',
+ '/home/pk/.buildout/eggs/zc.recipe.egg-1.2.3b2-py2.6.egg',
+ '/home/pk/.buildout/eggs/zc.buildout-1.5.0b2-py2.6.egg',
+ '/home/pk/.buildout/eggs/setuptools-0.6c11-py2.6.egg',
+ '/opt/virtualenvs/activistmarket/parts/django',
+ '/opt/virtualenvs/activistmarket/parts/django-uni-form-0.8',
+ '/opt/virtualenvs/activistmarket',
+ '/home/activist/amkt',
+ '/home/activist',
+ ]
+
+
from django.conf import settings
-os.environ["DJANGO_SETTINGS_MODULE"] = "amkt.settings"
+os.environ["DJANGO_SETTINGS_MODULE"] = "amkt.development"
#sys.path.insert(0, join(settings.PINAX_ROOT, "apps"))
#sys.path.insert(0, join(settings.PROJECT_ROOT, "apps"))

0 comments on commit fcc120c

Please sign in to comment.