- Download and set up Boot2Docker
- 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 shellinit
and copy the export statements to your ~/.bash_profile
- Follow the instructions at http://docs.docker.com/installation/mac/
- Download Go from http://golang.org/dl/
- Set up your Go workspace
mkdir ~/go
- Add the following to your ~/.bash_profile
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
- Reload your bash profile
source ~/.bash_profile
- Install Node.js using Homebrew
- Download Homebrew from http://brew.sh/
brew install node
- Install Compass
- Make sure you have the latest verison of Ruby
gem install compass
- Download Mattermost
cd ~/go
mkdir -p src/github.com/mattermost
cd src/github.com/mattermost
git clone github.com/mattermost/platform.git
cd platform
- Run unit tests on Mattermost using
make test
to make sure the installation was successful - If tests passed, you can now run Mattermost using
make run
Any issues? Please let us know on our forums at: http://forum.mattermost.org
- Download Docker
- Follow the instructions at https://docs.docker.com/installation/ubuntulinux/ or use the summary below:
sudo apt-get update
sudo apt-get install wget
wget -qO- https://get.docker.com/ | sh
sudo usermod -aG docker <username>
sudo service docker start
newgrp docker
- Follow the instructions at https://docs.docker.com/installation/ubuntulinux/ or use the summary below:
- Set up your dockerhost address
- Edit your /etc/hosts file to include the following line
127.0.0.1 dockerhost
- Edit your /etc/hosts file to include the following line
- Install build essentials
apt-get install build-essential
- Download Go from http://golang.org/dl/
- Set up your Go workspace and add Go to the PATH
mkdir ~/go
- Add the following to your ~/.bashrc
export GOPATH=$HOME/go
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
- Reload your bashrc
source ~/.bashrc
- Install Node.js
- Download the newest version of the Node.js sources from https://nodejs.org/download/
- Extract the contents of the package and cd into the extracted files
- Compile and install Node.js
./configure
make
make install
- Install Ruby and Compass
apt-get install ruby
apt-get install ruby-dev
gem install compass
- Download Mattermost
cd ~/go
mkdir -p src/github.com/mattermost
cd src/github.com/mattermost
git clone github.com/mattermost/platform.git
cd platform
- Run unit tests on Mattermost using
make test
to make sure the installation was successful - If tests passed, you can now run Mattermost using
make run
Any issues? Please let us know on our forums at: http://forum.mattermost.org