📝
【Mattermost】Webappのビルド・リリース手順
sudo su
cd /usr/local/src/mattermost-webapp
### カスタマイズをコーディングする ###
make build
tar -cvf ./dist/dist.tar ./dist/*
cp -r /opt/mattermost/client /opt/mattermost/client.`date +%Y%m%d%H%M%S`
rm -rf /opt/mattermost/client/*
tar -xvf dist/dist.tar -C /opt/mattermost/client
mv /opt/mattermost/client/dist/* /opt/mattermost/client/
rm -rf /opt/mattermost/client/dist/
chown mattermost:mattermost -R /opt/mattermost/client
systemctl restart mattermost
systemctl status mattermost
Discussion