docs/focalboard-dev-guide.md
Important: Effective September 15th, 2023, Mattermost Boards transitions to being fully community supported as the Focalboard Plugin. Mattermost will no longer be maintaining this plugin - this includes bug fixes and feature additions. Instead, the plugin is open-sourced and made available indefinitely for community contributions in GitHub.
To build your own version of it:
Here are the steps in more detail:
Fork the Focalboard repo, clone it locally, and follow the steps in the readme to set up your dev environment.
Install dependencies:
# First-time setup dependencies
cd mattermost-plugin/webapp
npm install --no-optional
cd ../..
make prebuild
Build the plugin:
# Build webapp
make webapp
# Build plugin
cd mattermost-plugin
make dist
Refer to the dev-release.yml workflow for the up-to-date commands that are run as part of CI.
You can manually upload the plugin to your Mattermost Server:
PluginSettings > EnableUploads to true in the Mattermost config.json file.tar.gz package in your mattermost-plugin/dist directoryAlternatively, you can install Mattermost locally and use make deploy to auto-deploy it for you:
First, build and run Mattermost locally:
make buildmake config-reset to generate the config/config.json fileconfig/config.json:ServiceSettings > SiteURL to http://localhost:8065 (docs)ServiceSettings > EnableLocalMode to true (docs)PluginSettings > EnableUploads to true (docs)MM_SERVICESETTINGS_SITEURL with the same site URL used in the configmake run-server in MattermostNow, to build and deploy the plugin:
make webapp
cd mattermost-plugin
make deploy