Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.1 KB

mattermost.md

File metadata and controls

43 lines (28 loc) · 1.1 KB

Use with Mattermost

To run a dev mattermost setup in docker

$ git clone https://github.com/mattermost/mattermost-docker.git
$ cd mattermost-docker
$ docker-compose up -d

Open http://localhost

Add an Integration

add-integration

Add Slash Commands

xkcd slash

xkcd-slash

scifgif slash

scifgif-slash

Start scifgif microservice with new token

$ docker run --init -d \
             -p 3993:3993 \
             --name scifgif \
             blacktop/scifgif --host HOST --port 3993 --token MATTERMOST_INTEGRATION_TOKEN

NOTE: token auth is currently disabled because scifgif hosts two microservices xkcd and giphy

Now in mattermost you can type /xkcd physics or /scifgif thumbs up to activate the slash commands