Fix formatting

This commit is contained in:
Wim 2015-10-23 22:39:03 +02:00
parent cbd01d4a55
commit f94bd43c88

View File

@ -1,7 +1,7 @@
# matterbridge # matterbridge
Simple bridge between mattermost and IRC. Uses the in/outgoing webhooks. Simple bridge between mattermost and IRC. Uses the in/outgoing webhooks.
Relays public channel messages between mattermost and IRC. Relays public channel messages between mattermost and IRC.
Work in progress. Work in progress.
@ -21,9 +21,9 @@ matterbridge
``` ```
## running ## running
1) Copy the matterbridge.conf.sample to matterbridge.conf in the same directory as the matterbridge binary. 1) Copy the matterbridge.conf.sample to matterbridge.conf in the same directory as the matterbridge binary.
2) Edit matterbridge.conf with the settings for your environment. See below for more config information. 2) Edit matterbridge.conf with the settings for your environment. See below for more config information.
3) Now you can run matterbridge. 3) Now you can run matterbridge.
Matterbridge will: Matterbridge will:
* start a webserver listening on the port specified in the configuration. * start a webserver listening on the port specified in the configuration.
@ -57,13 +57,13 @@ port=9999
You'll have to configure the incoming en outgoing webhooks. You'll have to configure the incoming en outgoing webhooks.
* incoming webhooks * incoming webhooks
Go to "account settings" - integrations - "incoming webhooks". Go to "account settings" - integrations - "incoming webhooks".
Choose a channel at "Add a new incoming webhook", this will create a webhook URL right below. Choose a channel at "Add a new incoming webhook", this will create a webhook URL right below.
This URL should be set in the matterbridge.conf in the [mattermost] section (see above) This URL should be set in the matterbridge.conf in the [mattermost] section (see above)
* outgoing webhooks * outgoing webhooks
Go to "account settings" - integrations - "outgoing webhooks". Go to "account settings" - integrations - "outgoing webhooks".
Choose a channel (the same as the one from incoming webhooks) and fill in the address and port of the server matterbridge will run on. Choose a channel (the same as the one from incoming webhooks) and fill in the address and port of the server matterbridge will run on.
e.g. http://192.168.1.1:9999 (9999 is the port specified in [mattermost] section of matterbridge.conf) e.g. http://192.168.1.1:9999 (9999 is the port specified in [mattermost] section of matterbridge.conf)