diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-06-19 09:34:59 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-06-19 09:34:59 -0400 |
commit | 5addc9fee9fc30351d456a5926d93c7079b1cf5c (patch) | |
tree | 8f9c2e4666f1b1717b6ecef67d8f202114cb5463 /README.md | |
parent | 96a4750edef590ec64279ddba544a767c54ab6f7 (diff) | |
parent | 9420e8db19176b79ad08678cf76a2d9ea770ed92 (diff) | |
download | chat-5addc9fee9fc30351d456a5926d93c7079b1cf5c.tar.gz chat-5addc9fee9fc30351d456a5926d93c7079b1cf5c.tar.bz2 chat-5addc9fee9fc30351d456a5926d93c7079b1cf5c.zip |
Merge pull request #37 from mattermost/docker-tweaks
Adding linux setup instructions to readme. Adding Dockerrun.aws.json file. HELIUM
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 33 |
1 files changed, 30 insertions, 3 deletions
@@ -24,18 +24,44 @@ You're installing "Mattermost Preview", a pre-released 0.40 version intended for That said, any issues at all, please let us know on the Mattermost forum at: http://bit.ly/1MY1kul -Developer Machine Setup (Docker/Mac) ------------------------------------- +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)”` 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 +4. Run `boot2docker shellinit` and copy the export statements to your ~/.bash\_profile 5. Run `docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:helium` 6. When docker is done fetching the image, open http://dockerhost:8065/ in your browser +### Ubuntu ### +1. Follow the instructions at https://docs.docker.com/installation/ubuntulinux/ or use the summery below. +`sudo apt-get update` +`sudo apt-get install wget` +`wget -qO- https://get.docker.com/ | sh` +`sudo usermod -aG docker <username>` +`sudo service docker start` +`newgrp docker` +2. Run `docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:helium +3. When docker is done fetching the image, open http://localhost:8065/ in your browser + +### Arch ### +1. Install docker using the following commands +`pacman -S docker` +`systemctl enable docker.service` +`systemctl start docker.service` +`gpasswd -a <username> docker` +`newgrp docker` +2. docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:helium +3. When docker is done fetching the image, open http://localhost:8065/ in your browser + +### Notes ### +If your ISP blocks port 25 then you may install locally but email will not be sent. + If you want to work with the latest bits in the repo you can run the cmd `docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:latest` @@ -46,6 +72,7 @@ If you wish to remove mattermost-dev use the following commands 1. `docker stop mattermost-dev` 2. `docker rm -v mattermost-dev` + AWS Elastic Beanstalk Setup (Docker) ------------------------------------ |