New runserver.wsgi for running on Apache
This commit is contained in:
parent
b4b995d108
commit
d6ea8ea1dc
13
pillar/runserver.wsgi
Normal file
13
pillar/runserver.wsgi
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
activate_this = '/data/venv/bin/activate_this.py'
|
||||||
|
execfile(activate_this, dict(__file__=activate_this))
|
||||||
|
import sys
|
||||||
|
#import logging
|
||||||
|
sys.path.append('/data/dev/pillar/pillar/')
|
||||||
|
from flup.server.fcgi import WSGIServer
|
||||||
|
from application import app as application
|
||||||
|
|
||||||
|
#logging.basicConfig(filename='/tmp/error.log', level=logging.DEBUG)
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
WSGIServer(application).run()
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user