The example does not execute

With the inclusion of the app.run we now are able to execute the program, it would be great if we'd have even more detailed docs available for the examples
Merge pull request #1100 from thewhitetulip/patch-1

The example does not execute