Created
December 28, 2011 05:20
-
-
Save dcramer/1526468 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install requirements from github | |
pip install git+ssh://[email protected]:dcramer/[email protected]#egg=raven==2.0.0-DEV | |
pip install git+ssh://[email protected]:dcramer/[email protected]#egg=sentry==2.0.0-DEV | |
# start sentry webserver | |
sentry start | |
# add raven to whatever app | |
# e.g. Django: | |
INSTALLED_APPS = ( | |
'raven.contrib.django', | |
) | |
SENTRY_SERVERS = ['http://localhost:9000/store/'] | |
# use raven from CLI | |
from raven import Client | |
client = Client(servers=['http://localhost:9000/store/']) | |
client.capture('Message', message='hello') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment