Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions source/site_ops/how-tos/enable_notifications.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,29 @@ Enable the plugin in your Tutor environment:

tutor plugins enable notifications

When enabled, the plugin automatically:
When enabled, the plugin requires an **initialization step** to enable notifications:

- Enables the following waffle flags:
- After enabling the plugin, you must run the following command to properly set up waffle flags and environment variables for the notifications service. Replace `[do/local/k8s]` with the appropriate option for your deployment environment:

- ``notifications.enable_notifications``
- ``notifications.enable_email_notifications``
.. code-block:: bash

- Sets the required environment variables for the notifications service
tutor dev [do/local/k8s] init --limit notifications

- ``SHOW_EMAIL_CHANNEL`` (defaults to TRUE)
- ``SHOW_PUSH_CHANNEL`` (defaults to FALSE)
This step ensures that the following are set:

- The waffle flags:

- ``notifications.enable_notifications``
- ``notifications.enable_email_notifications``

- The required environment variables for the notifications service:

- ``SHOW_EMAIL_CHANNEL`` (defaults to TRUE)
- ``SHOW_PUSH_CHANNEL`` (defaults to FALSE)

.. important::

After enabling the notifications plugin, site operators **must rebuild the
MFE image** for the notification tray to appear in the user interface.
After enabling the notifications plugin and completing the initialization step as mentioned above, site operators must rebuild the MFE image for the notification tray to appear in the user interface.

Rebuild the MFE image:

Expand Down