WikiMovimentoBrasil/deadlinkchecker

Define app.py as an entry point

Closed this issue · 0 comments

The default uwsgi configuration for the uwsgi webservice backend expects to find the uwsgi entry point as the variable app loaded from the $HOME/www/python/src/app.py module. If your application has another entry point, the easiest thing to do is create a $HOME/www/python/src/app.py module, import your entry point, and expose it as app.

Source: https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web/Python#Using_a_uWSGI_app_with_a_default_entry_point_that_is_not_app.py