Skip to content
This repository has been archived by the owner on Jun 21, 2021. It is now read-only.

Commit

Permalink
Add wsgi wrapper to let this run on toollabs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Jul 14, 2013
1 parent 9ba37c0 commit 3e4687d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/api.py
@@ -0,0 +1,10 @@
#!/data/project/wp-signpost/code/signpost/bin/python
import site
site.addsitedir("/data/project/wp-signpost/code/signpost/lib/python2.7/site-packages")

from wsgiref.handlers import CGIHandler
from werkzeug.debug import DebuggedApplication
from app import app

app.debug = True
CGIHandler().run(DebuggedApplication(app))

0 comments on commit 3e4687d

Please sign in to comment.