All Projects → rollbar → rollbar-flask-example

rollbar / rollbar-flask-example

Licence: other
Example using Rollbar with Flask

Programming Languages

python
139335 projects - #7 most used programming language

rollbar-flask-example

A simple example Flask app, showing how to use Rollbar (the error tracking service) with Flask.

How to run

This example requires Python 3 (or 2.6+), pip, and virtualenv.

virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
python hello.py

That will start the server on localhost:5000 .

Or run with gunicorn:

gunicorn hello:app

which will start the server on localhost:8000 .

Note on requirements

We tested with the listed versions in requirements.txt, but other versions of flask, blinker, and gunicorn are likely to work as well. Note that blinker is required. gunicorn is only required to run via gunicorn.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].