Some students have reported that the default Flask run command doesn't work (could not find app hello.py).
However once we re-organized the app into the "web_app" directory init file and used an app factory function, they reported it started working. In hindsight I think maybe flask was looking for an init file in the root directory, and that's why the hello.py version doesn't work.
Let's update Checkpoint 1 to reflect this student experience, and de-emphasise the need to put all the routes in before we move to the app factory pattern, to make it easier for students to follow along between Checkpoints 1 and 2.
Some students have reported that the default Flask run command doesn't work (could not find app hello.py).
However once we re-organized the app into the "web_app" directory init file and used an app factory function, they reported it started working. In hindsight I think maybe flask was looking for an init file in the root directory, and that's why the hello.py version doesn't work.
Let's update Checkpoint 1 to reflect this student experience, and de-emphasise the need to put all the routes in before we move to the app factory pattern, to make it easier for students to follow along between Checkpoints 1 and 2.
https://github.com/prof-rossetti/intro-to-python/blob/master/exercises/web-app/checkpoints/1-routing.md