MM-1898 Updates to Mac OSX instructions

Этот коммит содержится в:
it33
2015-08-05 16:44:27 -04:00
родитель 201d165ed9
Коммит b0cd2f8888

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

@@ -31,12 +31,12 @@ 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`. If you don't yet have a ~/.bash\_profile file this will create one for you.
1. 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.