summaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorraylu <ray.lu@getclever.com>2013-06-12 19:12:30 -0700
committerraylu <ray.lu@getclever.com>2013-06-12 19:12:30 -0700
commit9decbd2ffdf6d55cdc0ddb98727a1f8c6f88e588 (patch)
tree7e9fee33f0ea6c11cb63f7dda30f5c2dece09fa0 /run.sh
parent9e2a09e7254b3ad89d43c96be9229590518e9737 (diff)
downloadpyc-9decbd2ffdf6d55cdc0ddb98727a1f8c6f88e588.tar.xz
run fcgi (not dotcloud), django 1.5
also, fix link on submit.html page
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..f8d7b57
--- /dev/null
+++ b/run.sh
@@ -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