Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Mattermost"

(Copying: add alternate method)
Line 9: Line 9:
 
See also: https://github.com/42wim/matterbridge
 
See also: https://github.com/42wim/matterbridge
  
It is an application written in the "Go" language and has to be compiled first. It requires a more recent version of Go than the Ubuntu 14.04 (on which mattermost is currently running) does provide. So for the moment I do run a local docker container ("golang") in order to compile the binary and then upload it to the server where it does run.
+
It is an application written in the "Go" language and has to be compiled first. With having Ubuntu 16.04 on the machine it can now be compiled on the mattermost host itself.
  
 
==== Compiling ====
 
==== Compiling ====
  
<strong>Note:</strong> You do need a running docker installation for the following to work.
+
  $ go get github.com/42wim/matterbridge
 
+
# chown matterbridge bin/matterbridge
  $ docker run -ti golang
+
  # cp bin/matterbridge /opt/mattermost/matterbridge/bin
root@98828a5d4daa:/go# go get github.com/42wim/matterbridge
+
 
+
This will first start a docker container with the most recent version of go and then use go to download and compile a binary of "matterbridge". The binary will the be located in the "bin" folder of your current directory <strong>inside the docker container</strong>.
+
 
+
==== Copying ====
+
 
+
From inside the docker container copy the binary:
+
 
+
  root@98828a5d4daa:/go# scp bin/matterbridge root@mattermost-test.eclipse.org:/opt/mattermost/matterbridge/bin
+
 
+
<strong>Note: </strong> If you leave the docker container and re-enter it, the compiled content will be gone. So although it is described here as two steps, it actually is one.
+
 
+
You can also run docker with mounted volume:
+
 
+
docker run -v /home/user/docker/transfer:/mnt -ti golang
+
 
+
And then copy the result to /mnt which will then show up in /home/user/docker/transfer in the host machine.
+

Revision as of 03:31, 24 June 2016

This page tries to document the Mattermost test installation at https://mattermost-test.eclipse.org

The setup

Matterbridge

The matterbridge is a stand alone application which acts as a bridge between the mattermost channels and IRC servers.

See also: https://github.com/42wim/matterbridge

It is an application written in the "Go" language and has to be compiled first. With having Ubuntu 16.04 on the machine it can now be compiled on the mattermost host itself.

Compiling

$ go get github.com/42wim/matterbridge
# chown matterbridge bin/matterbridge
# cp bin/matterbridge /opt/mattermost/matterbridge/bin

Back to the top