From 71b548ef052d4e84ea0d067df51e4850ffdba572 Mon Sep 17 00:00:00 2001 From: Yuriy Tkachenko Date: Thu, 26 Nov 2015 13:27:05 +0300 Subject: Update Setup.md Fixed process for Mac OS X, makes it easier to install that way --- doc/developer/Setup.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/developer/Setup.md b/doc/developer/Setup.md index 882aac530..bb4fed377 100644 --- a/doc/developer/Setup.md +++ b/doc/developer/Setup.md @@ -11,7 +11,10 @@ Developer Machine Setup `docker-machine ip dev` 3. Add a line to your /etc/hosts that goes ` dockerhost` 4. Run `docker-machine env dev` and copy the export statements to your ~/.bash_profile -2. Download Go 1.5.1 from http://golang.org/dl/ +2. Download Go 1.5.1 and Node.js using Homebrew + 1. Download Homebrew from http://brew.sh/ + 2. `brew install go` + 3. `brew install node` 3. Set up your Go workspace 1. `mkdir ~/go` 2. Add the following to your ~/.bash_profile @@ -21,9 +24,9 @@ Developer Machine Setup If you don't increase the file handle limit you may see some weird build issues with browserify or npm. 3. Reload your bash profile `source ~/.bash_profile` -4. Install Node.js using Homebrew - 1. Download Homebrew from http://brew.sh/ - 2. `brew install node` +4. Install Godep + 1. `cd ~/go` + 2. `go get github.com/tools/godep` 5. Install Compass 1. Run `ruby -v` and check the ruby version is 1.8.7 or higher 2. `sudo gem install compass` -- cgit v1.2.3-1-g7c22 From ff08bf4d55173dd98ccd0f273a62d139979e6695 Mon Sep 17 00:00:00 2001 From: Yuri Tkachenko Date: Mon, 30 Nov 2015 12:17:06 +0300 Subject: removed installation of Godep PR #1532 need to be merged first --- doc/developer/Setup.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/doc/developer/Setup.md b/doc/developer/Setup.md index bb4fed377..b44971e5f 100644 --- a/doc/developer/Setup.md +++ b/doc/developer/Setup.md @@ -24,20 +24,17 @@ Developer Machine Setup If you don't increase the file handle limit you may see some weird build issues with browserify or npm. 3. Reload your bash profile `source ~/.bash_profile` -4. Install Godep - 1. `cd ~/go` - 2. `go get github.com/tools/godep` -5. Install Compass +4. Install Compass 1. Run `ruby -v` and check the ruby version is 1.8.7 or higher 2. `sudo gem install compass` -6. Download Mattermost +5. Download Mattermost `cd ~/go` `mkdir -p src/github.com/mattermost` `cd src/github.com/mattermost` `git clone https://github.com/mattermost/platform.git` `cd platform` -7. Run unit tests on Mattermost using `make test` to make sure the installation was successful -8. If tests passed, you can now run Mattermost using `make run` +6. Run unit tests on Mattermost using `make test` to make sure the installation was successful +7. 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 -- cgit v1.2.3-1-g7c22 From f1a68f5e2e11a974daa1ea9996d7fca8a5f957a0 Mon Sep 17 00:00:00 2001 From: Yuri Tkachenko Date: Mon, 30 Nov 2015 12:24:32 +0300 Subject: easier node install for ubuntu from https://github.com/nodesource/distributions#debinstall --- doc/developer/Setup.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/doc/developer/Setup.md b/doc/developer/Setup.md index b44971e5f..eb662e606 100644 --- a/doc/developer/Setup.md +++ b/doc/developer/Setup.md @@ -65,12 +65,8 @@ Any issues? Please let us know on our forums at: http://forum.mattermost.org 3. Reload your bashrc `source ~/.bashrc` 6. Install Node.js - 1. Download the newest version of the Node.js sources from https://nodejs.org/en/download/ - 2. Extract the contents of the package and cd into the extracted files - 3. Compile and install Node.js - `./configure` - `make` - `make install` + `curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -` + `sudo apt-get install -y nodejs` 7. Install Ruby and Compass `apt-get install ruby` `apt-get install ruby-dev` -- cgit v1.2.3-1-g7c22 From bb20ffc1c233573b606234f557b626cdef409568 Mon Sep 17 00:00:00 2001 From: Yuri Tkachenko Date: Mon, 30 Nov 2015 12:25:38 +0300 Subject: fix new lines --- doc/developer/Setup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/developer/Setup.md b/doc/developer/Setup.md index eb662e606..24e7d6a90 100644 --- a/doc/developer/Setup.md +++ b/doc/developer/Setup.md @@ -64,8 +64,8 @@ Any issues? Please let us know on our forums at: http://forum.mattermost.org If you don't increase the file handle limit you may see some weird build issues with browserify or npm. 3. Reload your bashrc `source ~/.bashrc` -6. Install Node.js - `curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -` +6. Install Node.js + `curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -` `sudo apt-get install -y nodejs` 7. Install Ruby and Compass `apt-get install ruby` -- cgit v1.2.3-1-g7c22