Skip to content

Instantly share code, notes, and snippets.

@bobbysciacchitano
Last active August 29, 2015 14:25
Show Gist options
  • Save bobbysciacchitano/471e1525ef08c0f8fc6a to your computer and use it in GitHub Desktop.
Save bobbysciacchitano/471e1525ef08c0f8fc6a to your computer and use it in GitHub Desktop.
Install Sentry with MySQL
# 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
[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