Browse Source

Add UWSGI config file

pull/2/head
Noah Petherbridge 6 years ago
parent
commit
b1c79d104d
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      app.wsgi

+ 17
- 0
app.wsgi View File

@@ -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

Loading…
Cancel
Save