https://github.com/dulacp/sentry
Exception logger server
https://github.com/dulacp/sentry
Last synced: 2 months ago
JSON representation
Exception logger server
- Host: GitHub
- URL: https://github.com/dulacp/sentry
- Owner: dulacp
- Created: 2015-02-06T19:19:56.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-15T10:53:25.000Z (over 9 years ago)
- Last Synced: 2025-01-11T21:12:04.515Z (4 months ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sentry instance
> Shit happens — Be on top of it.
## Automatic Deploy
[](https://heroku.com/deploy?template=https://github.com/dulaccc/sentry/tree/develop)
Then just create the superuser
```sh
$ heroku run sentry createsuperuser --app
$ heroku run sentry repair --owner= --app
```## Manual Deploy
### Create the Heroku app
Create the app in the region you want
```sh
$ heroku create --region y-sentry
```Then set the proper buildpack
```sh
$ heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
```### Push the code
```
$ git push heroku master
```### Set the required settings
> NB: using a protocol-less url like `//my-sentry.herokuapp.com` allows you to access the interface with both `http` and `https`.
```sh
$ heroku config:set SENTRY_URL_PREFIX="//my-sentry.herokuapp.com"
$ heroku config:set SENTRY_KEY=`openssl rand -base64 32`
$ heroku config:set SENTRY_CONF="sentry.conf.py"
```### Add the services
```sh
$ heroku addons:add newrelic
$ heroku addons:add mandrill
$ heroku addons:add rediscloud
$ heroku addons:add heroku-postgresql:hobby-dev
```### Run the migrations
```sh
$ heroku run sentry upgrade
```### Create the superuser
```sh
$ heroku run sentry createsuperuser
$ heroku run sentry repair --owner=
```### Maintain a clean database
Every now and then you will need to clean the engine
```sh
$ sentry --config=sentry.conf.py cleanup --days 60
```