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
xkcd
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 microservicesxkcd
andgiphy
Now in mattermost you can type /xkcd physics
or /scifgif thumbs up
to activate the slash commands