Last active
August 29, 2015 14:25
-
-
Save bobbysciacchitano/471e1525ef08c0f8fc6a to your computer and use it in GitHub Desktop.
Install Sentry with MySQL
This file contains 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
# VIA http://blog.jesse-obrien.ca/post/add-beautiful-and-effective-exception-handling-to-laravel-with-sentry | |
# Debian/Ubuntu | |
$ sudo apt-get install git supervisor htop python2.7-dev libxslt1-dev libxml2-dev libz-dev libffi-dev libssl-dev libmysqlclient-dev | |
# Get the latest version of Setup Tools | |
$ wget https://bootstrap.pypa.io/ez_setup.py -O - | python | |
# Install sentry itself and the python-mysql dependencies | |
$ sudo easy_install -UZ sentry[mysql] | |
# Initialize the config file | |
$ sentry init /etc/sentry.conf.py | |
# Run migrations | |
sentry --config=/etc/sentry.conf.py upgrade |
This file contains 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
[program:sentry-web] | |
command=/usr/local/bin/sentry --config=/etc/sentry.conf.py start http | |
autostart=true | |
autorestart=true | |
redirect_stderr=true | |
[program:sentry-queue] | |
command=/usr/local/bin/sentry celery worker -B | |
environment=SENTRY_CONF="/etc/sentry.conf.py" | |
user=deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment