summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-08-21 15:42:11 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-08-21 15:42:11 +0500
commitda97cecd256bcfa04e74bb868b091bf7b2e81739 (patch)
treeb05b3811b62e934f5d6e6e2003802091e7cfd9ea /README.md
parent3a76e82cdb5b6c9ef19eb6a942e27fc70881f95f (diff)
parent08941cf554bc88ca95f933cd2831fd6c6f2d49e9 (diff)
downloadchat-da97cecd256bcfa04e74bb868b091bf7b2e81739.tar.gz
chat-da97cecd256bcfa04e74bb868b091bf7b2e81739.tar.bz2
chat-da97cecd256bcfa04e74bb868b091bf7b2e81739.zip
Merge branch 'master' of https://github.com/mattermost/platform into ui-changes
Conflicts: web/react/components/channel_notifications.jsx
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 361de4739..9e49cb8b0 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)
------------------------------------
@@ -124,6 +132,35 @@ There are a few configuration settings you might want to adjust when setting up
* *ServiceSettings*:*StorageDirectory* - The file path where files will be stored locally if *UseLocalStorage* is set to true. The operating system user that is running the Mattermost application must have read and write privileges to this directory.
* *AWSSettings*:*S3*\* - If *UseLocalStorage* is set to false, and the S3 settings are configured here, then Mattermost will store files in the provided S3 bucket.
+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
------------