Skip to content
Permalink
Browse files

Added gunicorn to enable concurrency, removed unsupported eatery name…

…s from top of 'dining.py'
  • Loading branch information...
joengelm committed Apr 7, 2015
1 parent 4775390 commit 6a2491e47a55e9df10ea72632be05c9b2dfd88a6
Showing with 5 additions and 2 deletions.
  1. +1 −1 Procfile
  2. +1 −1 api/dining.py
  3. +3 −0 requirements.txt
@@ -1,3 +1,3 @@
web: python run.py
web: gunicorn -w 4 api:app --log-file -
scraper: python -m api.scripts.scrape --no-hours

@@ -18,7 +18,7 @@

# TODO these should be updated with the database
# create list of valid eatery names and valid food names
valid_eatery_names = ['ratty', 'vdub', 'jos', 'ivy', 'andrews', 'blueroom']
valid_eatery_names = ['ratty', 'vdub']
valid_food_names = []


@@ -1,6 +1,8 @@
beautifulsoup4==4.3.2
Flask==0.10.1
Flask-Assets==0.10
Flask-Limiter==0.7.3
gunicorn==19.3.0
html5lib==0.999
itsdangerous==0.24
Jinja2==2.7.3
@@ -10,4 +12,5 @@ pdfminer==20140328
pymongo==2.7.2
six==1.9.0
slate==0.3
webassets==0.10.1
Werkzeug==0.9.6

0 comments on commit 6a2491e

Please sign in to comment.
You can’t perform that action at this time.