Follow this guide: https://developers.mattermost.com/contribute/server/developer-setup/
Clone Webapp:
cd ~/go/src/github.com/mattermost/mattermost-webapp git clone https://github.com/mattermost/mattermost-webapp
Make sure you have created mmuser
and granted access to the database mattermost_test
on your lokal mysql server:
CREATE DATABASE mattermost_test CHARACTER SET utf8 COLLATE utf8_general_ci; CREATE USER 'mmuser'@'localhost' IDENTIFIED BY 'mostest'; GRANT ALL PRIVILEGES ON *.* TO 'mmuser'@'localhost';
Run Mattermost:
make run
Stop Mattermost Server:
make stop-server
Troubleshooting:
https://docs.mattermost.com/administration/plugins.html#set-up-guide