Этот коммит содержится в:
=Corey Hulen
2015-06-14 23:56:04 -08:00
родитель cf7a05f80f
Коммит b7a821c341

Просмотреть файл

@@ -27,25 +27,30 @@ See
Developer Machine Setup (Mac) Developer Machine Setup (Mac)
============================= =============================
# Docker Setup Docker Setup
------------
1. Follow the instructions at docs.docker.com/installation/mac/ Use the Boot2Docker command-line utility 1. 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)”` If you do command-line setup use: `boot2docker init eval “$(boot2docker shellinit)”`
2. Get your Docker ip address with `boot2docker ip` 2. Get your Docker ip address with `boot2docker ip`
3. Add a line to your /etc/hosts that goes `<Docker IP> dockerhost` 3. Add a line to your /etc/hosts that goes `<Docker IP> dockerhost`
4. Run `boot2docker shellinit` and copy the export statements to your ~/.bash_profile 4. Run `boot2docker shellinit` and copy the export statements to your ~/.bash_profile
# Go Setup Go Setup
--------
1. Download Go from golang.org/dl/ 1. Download Go from golang.org/dl/
# Node.js Setup Node.js Setup
-------------
1. Install homebrew from brew.sh 1. Install homebrew from brew.sh
2. `brew install node` 2. `brew install node`
# Compass Setup Compass Setup
-------------
1. Make sure you have the latest version of Ruby 1. Make sure you have the latest version of Ruby
2. `gem install compass` 2. `gem install compass`
# Mattermost Setup Mattermost Setup
----------------
1. Make a project directory for Mattermost, which will for the rest of this document be referred to as $PROJECT 1. Make a project directory for Mattermost, which will for the rest of this document be referred to as $PROJECT
2. Make a go directory in your $PROJECT directory 2. Make a go directory in your $PROJECT directory
3. Create/Open your ~/.bash_profile and add the following lines: `export GOPATH=$PROJECT/go export PATH=$PATH:$GOPATH/bin` 3. Create/Open your ~/.bash_profile and add the following lines: `export GOPATH=$PROJECT/go export PATH=$PATH:$GOPATH/bin`