This plugin is still work in progress and not yet ready for production use.
- Mattermost version 10.1 or later
- Parabol version 8.4.0 or later
SiteURL
If theSiteURL
is not set correctly, some functions like notifications will not work.- SSO identity provider for both Mattermost and Parabol
- Create a
.env
file in the root of the project:cp .env.example .env
- Start up a Mattermost development server
go to http://localhost:8065 and do the initial setup. Create a personal access token and set the environment variable
make start-server
MM_ADMIN_TOKEN
to the token value. - Run
to start the plugin in development mode. This will watch for webapp changes and automatically rebuild the plugin.
make watch
- Configure the plugin in mattermost, go to System Console -> Plugins -> Parabol and enter
- Parabol URL: http://host.docker.internal:3001
- Parabol API Token: get this from MATTERMOST_SECRET environment of your Parabol instance
The version of a plugin is determined at compile time, automatically populating a version
field in the plugin manifest:
- If the current commit matches a tag, the version will match after stripping any leading
v
, e.g.1.3.1
. - Otherwise, the version will combine the nearest tag with
git rev-parse --short HEAD
, e.g.1.3.1+d06e53e1
. - If there is no version tag, an empty version will be combined with the short hash, e.g.
0.0.0+76081421
.
To disable this behaviour, manually populate and maintain the version
field.
To trigger a release, follow these steps:
-
For Patch Release: Run the following command:
make patch
This will release a patch change.
-
For Minor Release: Run the following command:
make minor
This will release a minor change.
-
For Major Release: Run the following command:
make major
This will release a major change.
-
For Patch Release Candidate (RC): Run the following command:
make patch-rc
This will release a patch release candidate.
-
For Minor Release Candidate (RC): Run the following command:
make minor-rc
This will release a minor release candidate.
-
For Major Release Candidate (RC): Run the following command:
make major-rc
This will release a major release candidate.