From 89dbc1cd4669d4ee62da6fa4dfba49f3910cf53c Mon Sep 17 00:00:00 2001 From: Hans van Zijst Date: Sat, 16 Nov 2024 00:29:48 +0100 Subject: [PATCH] Started documentation for Element-web. --- matrix/element-web/README.md | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 matrix/element-web/README.md diff --git a/matrix/element-web/README.md b/matrix/element-web/README.md new file mode 100644 index 0000000..089c4f7 --- /dev/null +++ b/matrix/element-web/README.md @@ -0,0 +1,37 @@ +--- +gitea: none +include_toc: true +--- + +# Element-web + +Element-web is the webinterface, Element in a browser. You'll find the source +and [documentation on installing and +configuring](https://github.com/element-hq/element-web/blob/develop/docs/install.md) +on Github. + +You should never run Element-web on the same FQDN as your Synapse-server, +because of XSS problems. So start by defining a new FQDN for where you will +publish Element-web, and get a certificate for that. + +We'll use `element.matrixdev.example.com` here. + + +# Installing on Debian {#debian} + +Installing it on Debian is very easy indeed: + +``` +wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg +echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main" | + tee /etc/apt/sources.list.d/element-io.list +apt update +apt install element-web +``` + + +# Configuration {#configuration} + +Configuring is done in `config.json`, see the [documentation on +Github](https://github.com/element-hq/element-web/blob/develop/docs/config.md). +