Add new install command with HTTP_HOST environment variable to get OAuth configured automatic

Ralf Becker 2020-06-24 19:15:44 +02:00
parent 07d9a7273a
commit 5fce00dbfc

@ -3,7 +3,19 @@
Rocketchat Integration
=======
## Installation
Rocket.Chat needs to be configured and installed. The following steps show the configuration process in detail.
Rocket.Chat needs to be installed and configured.
> For it's configuration it is necessary to know under which domain name EGroupware and Rocket.Chat are running.
Therefore you should install EGroupware first, add your certificate or use eg. Certbot to get one, BEFORE you attempt to install Rocket.Chat with the following command:
```
HTTP_HOST=example.org apt install egroupware-rocketchat
```
Replace example.org with your full qualified domain name, and apt with yum or zypper, depending on your distribution.
That will not only install Rocket.Chat, but also configure it to authenticate via OAuth against EGroupware.
The following steps show the configuration process in detail.
> *After installation is finished, you may want to look into some administration details e.g. to configure non-EGroupware accounts, configure Rocket.Chat to forget user session on window close (if browser is used with different EGroupware users) or to switch video-chat (Jitsi) off for GDPR reasons.*
@ -14,7 +26,7 @@ Rocket.Chat needs to be configured and installed. The following steps show the c
| [(3) Server Info](#Server-Info)- Setting site name, language and server type
| [(4) Register Server](#Register-Server)- Selecting type of Server
> *Following steps are necessary only for on-premise installations*
> *Following steps are only necessary, if you did not specify your domain-name with HTTP_HOST environment variable*
|Only for on-premise installations
|--------------------------------