1. Jason Scheirer
  2. match-o-matic

Commits

Jason Scheirer  committed 140d709 Merge

There were two branches?

  • Participants
  • Parent commits a313353, 84b00cb
  • Branches default

Comments (0)

Files changed (2)

File match.wsgi

View file
+import sys, os, bottle
+
+sys.path = [os.path.dirname(__file__)] + sys.path
+os.chdir(os.path.dirname(__file__))
+
+import webservice # This loads your application
+
+application = bottle.default_app()

File webservice.py

View file
 import os
+import sys
+
+sys.path.append(os.path.dirname(__file__))
+os.chdir(os.path.dirname(__file__))
 
 import bottle
 
                                                         __file__)),
                                           'words.txt'))
 
-bottle.run(host='localhost', port=8080, reloader=True)
+#bottle.run(host='localhost', port=8080, reloader=True)
+#application = bottle.default_app()