From b1c79d104d99a2f9d0798bbbf7dfc043c2ff7c40 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Thu, 10 Apr 2014 05:05:52 +0000 Subject: [PATCH] Add UWSGI config file --- app.wsgi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 app.wsgi diff --git a/app.wsgi b/app.wsgi new file mode 100644 index 0000000..bb23ca1 --- /dev/null +++ b/app.wsgi @@ -0,0 +1,17 @@ +#!/usr/bin/env python + +"""WSGI runner script for the Rophako CMS.""" + +import sys +import os + +# Add the CWD to the path. +sys.path.append(".") + +# Use the 'rophako' virtualenv. +activate_this = os.environ['HOME']+'/.virtualenv/rophako/bin/activate_this.py' +execfile(activate_this, dict(__file__=activate_this)) + +from rophako import app as application + +# vim:ft=python