Skip to content

Commit

Permalink
Prepare for 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Lo-A-Foe committed Oct 29, 2018
1 parent 339ff4e commit 6a1cf48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,17 @@ docker-compose build
docker-compose run -d
```


If you just want to test locally, you can find [here](https://github.com/banzo/mattermost-docker/tree/feature/hubot-matteruser) a fork of the [official Mattermost Docker Compose stack](https://github.com/mattermost/mattermost-docker) plugged to Hubot-Matteruser:


## Installation

### 1) Install a Mattermost server

Follow the [Mattermost install guides](https://docs.mattermost.com/guides/administrator.html#install-guides) to set up the latest version of Mattermost 4.4.x.
Follow the [Mattermost install guides](https://docs.mattermost.com/guides/administrator.html#install-guides) to set up the latest version of Mattermost 5.4.x.

**IMPORTANT:** Make sure your `hubot-matteruser` and `mattermost-client` versions **match** the major version of your Mattermost server so the API versions will match.

For example, if you're using Mattermost server version 4.4.0 the _major version_ is "4.4", and it is highly recommended to use version 4.4.x of `hubot-matteruser` and `mattermost-client`. See [releases archive](https://github.com/loafoe/hubot-matteruser/releases) for older versions.

### 2) Install hubot-matteruser

On a separate server, install `hubot-matteruser` using the following commands:
Expand Down Expand Up @@ -142,12 +139,12 @@ export MATTERMOST_PASSWORD=s3cr3tP@ssw0rd!

## Upgrade

To upgrade your Hubot for Mattermost 4.4.x, find the `package.json` file in your Hubot directory and look for the line in the `dependencies` section that references `hubot-matteruser`. Change the verion so it points to `^4.4.0` of the client. Example:
To upgrade your Hubot for Mattermost 4.4.x, find the `package.json` file in your Hubot directory and look for the line in the `dependencies` section that references `hubot-matteruser`. Change the verion so it points to `^5.1.0` of the client. Example:

```json
...
"dependencies": {
"hubot-matteruser": "^4.4.0"
"hubot-matteruser": "^5.1.0"
},
...
```
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hubot-matteruser",
"version": "5.0.0",
"version": "5.1.0",
"author": {
"name": "Andy Lo-A-Foe",
"url": "https://aemian.com/"
Expand All @@ -24,7 +24,7 @@
},
"main": "./src/matteruser.js",
"dependencies": {
"mattermost-client": "git://github.com/loafoe/mattermost-client.git#feature/personal-access-token-support",
"mattermost-client": "^6.0.0",
"parent-require": "^1.0.0",
"q": "^1.4.1"
},
Expand Down

0 comments on commit 6a1cf48

Please sign in to comment.