Tweaks to runserver.wsgi
This commit is contained in:
parent
70dc0a2175
commit
14bc00a385
@ -1,10 +1,11 @@
|
||||
import sys
|
||||
from flup.server.fcgi import WSGIServer
|
||||
from application import app
|
||||
|
||||
activate_this = '/data/venv/bin/activate_this.py'
|
||||
execfile(activate_this, dict(__file__=activate_this))
|
||||
from flup.server.fcgi import WSGIServer
|
||||
|
||||
sys.path.append('/data/dev/pillar/pillar/')
|
||||
from application import app
|
||||
|
||||
if __name__ == '__main__':
|
||||
WSGIServer(app).run()
|
||||
|
Loading…
x
Reference in New Issue
Block a user