Skip to content

Instantly share code, notes, and snippets.

@ebuildy
Last active November 7, 2018 19:14
Show Gist options
  • Save ebuildy/5d4ad0998848eaefdad8 to your computer and use it in GitHub Desktop.
Save ebuildy/5d4ad0998848eaefdad8 to your computer and use it in GitHub Desktop.

Revisions

  1. ebuildy revised this gist Oct 15, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -21,7 +21,7 @@ sudo nano .sentry/sentry.conf.py # Set postgres connection sentry / sentry

    createdb -E utf-8 sentry

    entry --config=/home/tom/.sentry/sentry.conf.py upgrade
    sentry --config=/home/tom/.sentry/sentry.conf.py upgrade

    sentry --config=/home/tom/.sentry/sentry.conf.py createsuperuser

  2. ebuildy revised this gist Oct 15, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -25,6 +25,6 @@ entry --config=/home/tom/.sentry/sentry.conf.py upgrade

    sentry --config=/home/tom/.sentry/sentry.conf.py createsuperuser

    sentry --config=/etc/sentry.conf.py repair --owner=<username>
    sentry --config=/home/tom/.sentry/sentry.conf.py repair --owner=<username>

    sentry --config=/etc/sentry.conf.py start
    sentry --config=/home/tom/.sentry/sentry.conf.py start
  3. ebuildy revised this gist Oct 14, 2014. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -21,4 +21,10 @@ sudo nano .sentry/sentry.conf.py # Set postgres connection sentry / sentry

    createdb -E utf-8 sentry

    entry --config=/home/tom/.sentry/sentry.conf.py upgrade
    entry --config=/home/tom/.sentry/sentry.conf.py upgrade

    sentry --config=/home/tom/.sentry/sentry.conf.py createsuperuser

    sentry --config=/etc/sentry.conf.py repair --owner=<username>

    sentry --config=/etc/sentry.conf.py start
  4. ebuildy created this gist Oct 14, 2014.
    24 changes: 24 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    sudo apt-get update

    sudo apt-get install python-virtualenv
    sudo apt-get install python-dev
    sudo apt-get install postgresql
    sudo apt-get install postgresql-server-dev-9.3
    sudo apt-get install redis-server

    sudo -u postgres createuser -s sentry
    sudo -u postgres psql -c "alter user sentry with password 'sentry';"
    sudo nano /etc/postgresql/9.3/main/pg_hba.conf
    # local sentry md5
    sudo service postgres restart

    sudo virtualenv /www/sentry/
    sudo easy_install -UZ sentry[postgres]

    sudo sentry init # This will create "/home/tom/.sentry/sentry.conf.py"

    sudo nano .sentry/sentry.conf.py # Set postgres connection sentry / sentry

    createdb -E utf-8 sentry

    entry --config=/home/tom/.sentry/sentry.conf.py upgrade