diff --git a/search.ini b/search.ini index bfa990e..91274d8 100755 --- a/search.ini +++ b/search.ini @@ -3,8 +3,10 @@ wsgi_file = /srv/http/build/website.py chdir = /srv/http/build/ module = website callable = app +virtualenv = /srv/http/build/venv uid = http gid = http +plugin = python master = true processes = 5 diff --git a/src/textbookExceptions.py b/src/textbookExceptions.py index 7e93fbb..ecf8b11 100644 --- a/src/textbookExceptions.py +++ b/src/textbookExceptions.py @@ -20,5 +20,4 @@ class UnIndexable(Exception): %s There could be several reasons why, my best guess is that %s We need at least the course code, title, and one or more sections to index - """ % (course, message) diff --git a/src/website.py b/src/website.py index 6d48b3c..04b1ec8 100755 --- a/src/website.py +++ b/src/website.py @@ -119,5 +119,5 @@ def ClassSearch(configfile=None): app = ClassSearch("./appconfig") -#if __name__ == "__main__": - #ClassSearch("./appconfig").run(host="localhost", port=8001, debug=True) +if __name__ == "__main__": + ClassSearch("./appconfig").run(host="localhost", port=8001, debug=True)