Skip to content

Commit

Permalink
Fix tests. Update readme. Closes #29.
Browse files Browse the repository at this point in the history
  • Loading branch information
butorov committed Apr 28, 2019
1 parent 873475d commit b4fd71c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
17 changes: 5 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,14 @@ Installation
pip install sentry-telegram
2. Add plugin to ``INSTALLED_APPS`` of Sentry, into ``sentry.conf.py`` file. It's usually in the directory like ``/var/www/sentry/``.
For this purpose just add the following line into the file:

.. code-block:: python
INSTALLED_APPS += ('sentry_telegram',)
3. Restart your Sentry instance.
4. Go to your Sentry web interface. Open ``Settings`` page of one of your projects.
5. On ``Integrations`` page find ``Telegram Notifications`` plugin and enable it.
6. Configure plugin on ``Configure plugin`` page.
2. Restart your Sentry instance.
3. Go to your Sentry web interface. Open ``Settings`` page of one of your projects.
4. On ``Integrations`` (or ``Legacy Integrations``) page, find ``Telegram Notifications`` plugin and enable it.
5. Configure plugin on ``Configure plugin`` page.

See `Telegram's documentation <https://core.telegram.org/bots#3-how-do-i-create-a-bot>`_ to know how to create ``BotAPI Token``.

7. Done!
6. Done!

.. |travis| image:: https://travis-ci.org/butorov/sentry-telegram.svg?branch=master
:target: https://travis-ci.org/butorov/sentry-telegram
Expand Down
2 changes: 1 addition & 1 deletion tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from sentry.utils.samples import create_sample_event


from sentry_telegram import TelegramNotificationsPlugin
from sentry_telegram.plugin import TelegramNotificationsPlugin


sentry_version = V(sentry.__version__)
Expand Down

0 comments on commit b4fd71c

Please sign in to comment.