passiomatic / coldsweat

Web RSS aggregator and reader compatible with the Fever API
MIT License
146 stars 21 forks source link

Added a coldsweat.app:app object for more traditional uWSGI servers. #32

Closed ahknight closed 10 years ago

ahknight commented 11 years ago

This includes the tiny patch needed to make Gunicorn work (referenced at Using-Coldsweat-with-Gunicorn-and-Nginx).

passiomatic commented 11 years ago

I'm not sure about this change. I would prefer not to expose any application variable. Instead what about this:

wsgi.py

from coldsweat.app import setup_app
app = setup_app()

For example Passenger - at least on Dreamhost - requires to export an application variable name instead of app.