diff --git a/app/conf/common.py b/app/conf/common.py index 39544f7..47f20f4 100644 --- a/app/conf/common.py +++ b/app/conf/common.py @@ -65,7 +65,7 @@ INSTALLED_APPS = ( 'nexus', 'gargoyle', 'sentry', - 'sentry.client', + 'raven.contrib.django', 'south', 'piston', 'djcelery', @@ -167,7 +167,7 @@ LOGGING = { }, 'sentry': { 'level': 'DEBUG', - 'class': 'sentry.client.handlers.SentryHandler', + 'class': 'raven.contrib.django.handlers.SentryHandler', }, }, 'loggers': { diff --git a/fabfile.py b/fabfile.py index 83ec5fd..74d0b91 100644 --- a/fabfile.py +++ b/fabfile.py @@ -159,7 +159,8 @@ def restart_uwsgi(): @task def runserver(port=3333): with prefix('. .env/bin/activate'): - local('app/manage.py runserver %s' % port, capture=False) + ip = local("""ip addr list eth0 |grep "inet " |cut -d' ' -f6|cut -d/ -f1""", capture=True) + local('app/manage.py runserver %s:%s' % (ip, port), capture=False) @task def test(): diff --git a/requirements.txt b/requirements.txt index 9b4af5e..dca717d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,8 @@ flup celery==2.2.6 django-celery==2.2.4 xmpppy -django-sentry +django-sentry==1.13.5 +raven==0.7.0 nexus -e git+https://github.com/nikdoof/gargoyle.git@dca57fc4b437b85f8cbc#egg=gargoyle beautifulsoup