@@ -20,15 +20,46 @@ to catch errors and visualize our application is running properly.
2020
2121
2222## Our Tools
23+ We can use either [ Python 2 or 3] ( /python-2-or-3.html ) to build this
24+ tutorial, but Python 3 is * strongly* recommended for all new applications.
25+ I used
26+ [ Python 3.6.1] ( https://www.python.org/downloads/release/python-361/ ) to
27+ execute my code. We will also use the following
28+ [ application dependencies] ( /application-dependencies.html ) throughout
29+ the post:
30+
31+ * [ Flask] ( /flask.html ) web framework,
32+ [ version 0.12.2] ( https://github.com/pallets/flask/releases/tag/0.12.2 )
33+ * [ pyrollbar] ( https://rollbar.com/docs/notifier/pyrollbar/ ) monitoring
34+ instrumentation library,
35+ [ version 0.13.12] ( https://github.com/rollbar/pyrollbar/tree/v0.13.12 )
36+ * [ pip] ( https://pip.pypa.io/en/stable/ ) and
37+ [ virtualenv] ( https://virtualenv.pypa.io/en/latest/ ) , which come
38+ packaged with Python 3, to install and isolate the Flask and Rollbar
39+ libraries from other Python projects you are working on
40+
41+
42+ If you need help getting your
43+ [ development environment] ( /development-environments.html ) configured
44+ before running this code, take a look at
45+ [ this guide for setting up Python 3 and Flask on Ubuntu 16.04 LTS] ( /blog/python-3-flask-green-unicorn-ubuntu-1604-xenial-xerus.html )
46+
47+ All code in this blog post is available open source under the MIT license
48+ on GitHub under the
49+ [ monitor-flask-apps directory of the blog-code-examples repository] ( https://github.com/fullstackpython/blog-code-examples ) .
50+ Use and abuse the source code as you like for your own applications.
2351
2452
2553## Installing Dependencies
2654
2755```
28- pip install flask==0.12.2 rollbar
56+ pip install flask==0.12.2 pyrollbar==0.13.12
2957```
3058
31- ## Running the Flask App
59+ ## Building Our Flask App
60+
61+
62+ Create a new directory
3263(error occurs but we dont see it)
3364
3465## Handling Errors
0 commit comments