WhooshAlchemy will not work on Heroku.
Modified models.py.
Full-text database for Whoosh gets disabled on basis of WHOOSH_ENABLED.
Changed views.py.
In the before_request handler, added a search_enabled boolean to the g object.
Changed base template.
Search bar appears only if Whoosh is enabled.
Changed __init__.py.
If HEROKU environment var is present, then we change to using stream handlers instead of file handlers for logging.
Added a production runner script for Heroku.
Added a requirements.txt.
pip freeze > filename.
Added psycopg2 to requirements.
Added Procfile for Heroku.
Changed manage.py
Merge pull request #19 from VaticanCameos/heroku

Heroku Configuration