mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..
api | ||
config | ||
Godeps | ||
manualtesting | ||
model | ||
store | ||
utils | ||
web | ||
.gitignore | ||
License.txt | ||
Makefile | ||
mattermost.go | ||
README.md |
XXXXXX - TODO someone needs to update
Will become a heading
Will become a sub heading
This will be Italic
This will be Bold
-
This will be a list item
-
This will be a list item
Add a indent and this will end up as code
See
http://daringfireball.net/projects/markdown/ http://en.wikipedia.org/wiki/Markdown http://github.github.com/github-flavored-markdown/
Developer Machine Setup (Mac)
Docker Setup
- Follow the instructions at 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
Go Setup
- Download Go from 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 $GOPATH
mkdir -p src/github.com/mattermost
then cd into this directorygit clone github.com/mattermost/platform.git
- If you do not have Mercurial, download it with:
brew install mercurial
cd platform
make test
- Provided the test runs fine, you now have a complete build environment. Use
make run
to run your code