diff options
author | raylu <ray.lu@getclever.com> | 2013-06-12 19:12:30 -0700 |
---|---|---|
committer | raylu <ray.lu@getclever.com> | 2013-06-12 19:12:30 -0700 |
commit | 9decbd2ffdf6d55cdc0ddb98727a1f8c6f88e588 (patch) | |
tree | 7e9fee33f0ea6c11cb63f7dda30f5c2dece09fa0 /run.sh | |
parent | 9e2a09e7254b3ad89d43c96be9229590518e9737 (diff) | |
download | pyc-9decbd2ffdf6d55cdc0ddb98727a1f8c6f88e588.tar.xz |
run fcgi (not dotcloud), django 1.5
also, fix link on submit.html page
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -0,0 +1,3 @@ +#!/usr/bin/env sh +cd pyc +sudo -u www-data PYTHONPATH=/var/www/pyc.raylu.net:/var/www/pyc.raylu.net/pyc:/var/www/pyc.raylu.net/submissions DJANGO_SETTINGS_MODULE=pyc.settings django-admin runfcgi socket=/var/run/lighttpd/wsgi.socket method=threaded |