Skip to content

Instantly share code, notes, and snippets.

@weaming
Last active May 4, 2017 14:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save weaming/a1a01edf333282d85ce1 to your computer and use it in GitHub Desktop.
Save weaming/a1a01edf333282d85ce1 to your computer and use it in GitHub Desktop.

Links

Install

sudo yum install postgresql-server postgresql python redis nginx
pip install -U virtualenv
virtualenv /www/sentry/
source /www/sentry/bin/activate
pip install -U sentry

sentry init /etc/sentry #生成sentry配置文件
# 修改database、host、port
# 新建database
# 配置Redis

sentry --config sentry.conf.py update # 会更新数据库
sentry --config sentry.conf.py start
sentry celery worker

其他:
sentry celery worker -B # 后台运行
sentry celery worker -l DEBUG # DEBUG模式
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment