Started documentation for Element-web.

This commit is contained in:
Hans van Zijst 2024-11-16 00:29:48 +01:00 committed by Valentin Gagarin
parent e871bc4fdb
commit 89dbc1cd46

View file

@ -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).