$ cp .env.sample .env
$ docker-compose run --rm sentry config generate-secret-key
And then set generated key to SENTRY_SECRET_KEY
in .env
.
If this is a new database, you'll need to run upgrade
.
$ docker-compose run --rm sentry upgrade
And create an initial user, if you need.
$ docker-compose up -d
And open http://localhost:9000
pip install sentry-telegram
in sentry & sentry-worker bydocker exec -it <sentry> bash
docker-compose restart
. It's done ^^
- Get Bot Token from Bot Father of Telegram
- Add this Bot to your channel or group with Admin Role.
- Call
https://api.telegram.org/bot<token>/getUpdates
to get Channel_ID - Add config to sentry with your project. Thank <3