summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-08-21 08:54:48 -0700
committer=Corey Hulen <corey@hulen.com>2015-08-21 08:54:48 -0700
commit0ae7180ac5e0cea1e240a1d29c5822159762b2e3 (patch)
tree6fb954e8d5609286b861c3e378543f28180d84d5 /README.md
parent60be2a5636e52bd3193978691f9b53d896e4c45c (diff)
parentddcdcc3e2c85efbfd1d91d69c0f5c0af7c7cb1c7 (diff)
downloadchat-0ae7180ac5e0cea1e240a1d29c5822159762b2e3.tar.gz
chat-0ae7180ac5e0cea1e240a1d29c5822159762b2e3.tar.bz2
chat-0ae7180ac5e0cea1e240a1d29c5822159762b2e3.zip
Merging
Diffstat (limited to 'README.md')
-rw-r--r--README.md51
1 files changed, 44 insertions, 7 deletions
diff --git a/README.md b/README.md
index 80f0f4c38..c4276ed78 100644
--- a/README.md
+++ b/README.md
@@ -79,18 +79,26 @@ Local Machine Setup (Docker)
3. When docker is done fetching the image, open http://localhost:8065/ in your browser.
### Additional Notes ###
-- If you want to work with the latest bits in the repository (i.e. not a stable release) you can run the cmd:
-`docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:dev`
+- If you want to work with the latest master from the repository (i.e. not a stable release) you can run the cmd:
-- You can update to the latest bits by running:
-`docker pull mattermost/platform:dev`
+ ``` bash
+ docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform:dev
+ ```
+
+- Instructions on how to update your docker image are found below.
- If you wish to remove mattermost-dev use:
- `docker stop mattermost-dev`
- `docker rm -v mattermost-dev`
+
+ ``` bash
+ docker stop mattermost-dev
+ docker rm -v mattermost-dev
+ ```
- If you wish to gain access to a shell on the container use:
- `docker exec -ti mattermost-dev /bin/bash`
+
+ ``` bash
+ docker exec -ti mattermost-dev /bin/bash
+ ```
AWS Elastic Beanstalk Setup (Docker)
------------------------------------
@@ -163,6 +171,35 @@ Email Setup (Optional)
3. The service should restart automatically. Verify the Mattermost service is running with `ps -A`
4. Current logged in users will not be affected, but upon logging out or session expiration users will be required to verify their email address.
+Upgrading Mattermost
+---------------------
+
+### Docker ###
+To upgrade your docker image to the latest release (NOTE: this will destroy all data in the docker container):
+
+1. Stop your docker container by running:
+
+ ``` bash
+ docker stop mattermost-dev
+ ```
+2. Delete your docker container by running:
+
+ ``` bash
+ docker rm mattermost-dev
+ ```
+3. Update your docker image by running:
+
+ ``` bash
+ docker pull mattermost/platform
+ ```
+4. Start your docker container by running:
+
+ ``` bash
+ docker run --name mattermost-dev -d --publish 8065:80 mattermost/platform
+ ```
+
+To upgrade to the latest master from the repository replace `mattermost/platform` with `mattermost/platform:dev` in the above instructions.
+
Contributing
------------