I\'m trying to get a Flask \"hello world\" application working on a Dreamhost shared server, following the instructions on their wiki, but I\'m not having any luck.
My F
Does answering my own question mean I'm talking to myself?
Anyway - I seem to have fixed it. Rather than find a nice helpful error message, I went through all the steps again one at a time, and it turns out it was an import error in the passenger_wsgi.py
file. As the app is in the mysite
subdirectory, the line:
from mysite import hello as application
should have been (and in fact, now is):
from mysite.hello import app as application
And it works. Which is nice.