From c4451ceca200f8178bce7aa8e0cd3960412a1de8 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 08 2014 09:27:13 +0000 Subject: Add a sample wsgi file for progit --- diff --git a/files/progit.wsgi b/files/progit.wsgi new file mode 100644 index 0000000..0bc9e0c --- /dev/null +++ b/files/progit.wsgi @@ -0,0 +1,22 @@ +#-*- coding: utf-8 -*- + +# The three lines below are required to run on EL6 as EL6 has +# two possible version of python-sqlalchemy and python-jinja2 +# These lines make sure the application uses the correct version. +#import __main__ +#__main__.__requires__ = ['SQLAlchemy >= 0.7', 'jinja2 >= 2.4'] +#import pkg_resources + +#import os +## Set the environment variable pointing to the configuration file +#os.environ['PROGIT_CONFIG'] = '/etc/progit/progit.cfg' + +## The following is only needed if you did not install progit +## as a python module (for example if you run it from a git clone). +#import sys +#sys.path.insert(0, '/path/to/progit/') + + +## The most import line to make the wsgi working +#from progit import APP as application +#application.debug = True