XXXXXX TODO: Test install procedures
Mattermost (Preview) Team Communication Service Version 0.40
What matters most to your team?
Words have power. We built Mattermost for teams who use words to shape the future. The words you choose are up to you.
- SpinPunch
Installing the Mattermost Preview
You're installing "Mattermost Preview", a pre-released version intended for an early look at what we're building. While SpinPunch runs this codebase internally, because your use will differ from ours this version is not recommended for production deployments.
That said, any issues at all, please let us know on our forum at: http://bit.ly/1MY1kul
Developer Machine Setup (Mac)
DOCKER
- Follow the instructions at http://docs.docker.com/installation/mac/ Use the Boot2Docker command-line utility
If you do command-line setup use:
boot2docker init eval “$(boot2docker shellinit)” - Get your Docker ip address with
boot2docker ip - Add a line to your /etc/hosts that goes
<Docker IP> dockerhost - Run
boot2docker shellinitand copy the export statements to your ~/.bash_profile
Any issues? Please let us know on our forums at: http://bit.ly/1MY1kul
GO
- Download Go from http://golang.org/dl/
NODE.JS SETUP
- Install homebrew from brew.sh
brew install node
COMPASS SETUP
- Make sure you have the latest version of Ruby
gem install compass
MATTERMOST SETUP
- Make a project directory for Mattermost, which will for the rest of this document be referred to as $PROJECT
- Make a go directory in your $PROJECT directory
- Create/Open your ~/.bash_profile and add the following lines:
export GOPATH=$PROJECT/go export PATH=$PATH:$GOPATH/bin - Refresh your bash profile with
source ~/.bash_profile cd $GOPATHmkdir -p src/github.com/mattermostthen cd into this directorygit clone github.com/mattermost/platform.git- If you do not have Mercurial, download it with:
brew install mercurial cd platformmake test- Provided the test runs fine, you now have a complete build environment. Use
make runto run your code
Any issues? Please let us know on our forums at: http://bit.ly/1MY1kul