diff --git a/server/.gitignore b/server/.gitignore index 98e6ef6..b16e8f5 100644 --- a/server/.gitignore +++ b/server/.gitignore @@ -1 +1,2 @@ *.db +*.mp3 diff --git a/server/default_config.py b/server/default_config.py index 8305fb7..743f69c 100644 --- a/server/default_config.py +++ b/server/default_config.py @@ -1,17 +1,7 @@ HOST = 'localhost' PORT = '8000' -WSGI_SERVER = 'wsgiref' +WSGI_SERVER = 'paste' WSGI_SERVER_OPTIONS = {} -### Beware: we use global objects (the processqueue); you can't use -### worker_class=sync in gunicorn, and probably other similar deployment won't -### work -### A dirty check is: -### * go to /old.html -### * create something -### * go to /api/jobs -### * refresh a lot and see if the result is always the same -#WSGI_SERVER = 'gunicorn' -#WSGI_SERVER_OPTIONS = {'workers': 4, 'worker_class': 'eventlet' } DEBUG = True DB_URI = 'sqlite:///techrec.db' diff --git a/server/requirements.txt b/server/requirements.txt index 5f62ef6..73628f7 100644 --- a/server/requirements.txt +++ b/server/requirements.txt @@ -1,3 +1,4 @@ +Paste==1.7.5.1 SQLAlchemy==0.8.3 bottle==0.11.6 wsgiref==0.1.2