Configuration
GitHub OAuth Token
How to enable GitHub Emoji support in Cachet.
Overview
Cachet’s Markdown support also allows you to enable GitHub’s Emoji support. This is done by using the CACHET_EMOJI
environment variable.
Supporting Emoji codes such as :smile:
and :beers:
, is made possible by GitHub’s public API.
Under some circumstances it’s possible to hit GitHub’s API rate limit quickly. This would render your status page inaccessible.
To get around this you can create a GitHub oAuth Token and set it in your .env
file. Follow these instructions to create and setup Cachet with your token.
Enabling Emoji
Cachet’s Emoji support is disabled by default. To enable Emoji you’ll need to modify your .env
file
Generate a GitHub Token
- Create a new Personal Access Token. Make sure you give the token a name and select the
user
scopes. - Click “Generate token” and copy and update your
.env
file:
- After changing the configuration you’ll now need to run the following: