Merge pull request #347 from mattermost/it33-patch-1

MM-1898 Updates to Mac OSX instructions
Этот коммит содержится в:
Harrison Healey
2015-08-07 11:06:39 -04:00
родитель b71e1ccf45 9b42ad76e3
Коммит bf1537ac13

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

@@ -31,12 +31,11 @@ Local Machine Setup (Docker)
### Mac OSX ###
1. Follow the instructions at: http://docs.docker.com/installation/mac/
1. Use the Boot2Docker command-line utility.
2. If you do command-line setup use: `boot2docker init eval “$(boot2docker shellinit)”`
1. Install Boot2Docker using instructions at: http://docs.docker.com/installation/mac/
1. Start Boot2Docker from the command line and run: `boot2docker init eval “$(boot2docker shellinit)”`
2. Get your Docker IP address with: `boot2docker ip`
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.
3. Use `sudo nano /etc/hosts` to add `<Docker IP> dockerhost` to your /etc/hosts file
4. Run: `boot2docker shellinit` and copy the export statements to your ~/.bash\_profile by running `sudo nano ~/.bash_profile`. Then run: `source ~/.bash_profile`
5. Run: `docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform`
6. When docker is done fetching the image, open http://dockerhost:8065/ in your browser.