From ffb1e91c908199eab099e630141c91e878025dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20H=C3=BCttemann?= Date: Wed, 17 May 2023 18:50:43 +0200 Subject: [PATCH] Update README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 61adffc..b9c4138 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,14 @@ mongoexport --collection=users --db=rocketchat --out=users.json ## Running the Matrix Dev Server ```shell +docker-compose run --rm -e SYNAPSE_SERVER_NAME=my.matrix.host -e SYNAPSE_REPORT_STATS=no synapse generate docker-compose up -d # Register a admin user -docker-compose exec -it synapse register_new_matrix_user http://localhost:8008 -c /data/homeserver.yaml +docker-compose exec -it synapse register_new_matrix_user http://localhost:8008 -c /data/homeserver.yaml --admin --user verdiadmin --password verdiadmin ``` +Then you can access the homeserver in [Element Web](https://app.element.io/#/login) or the [local admin interface](http://localhost:8080) as `http://localhost:8008` with the `verdiadmin` as username AND password. + ## Design Decisions - Getting data from Rocket.Chat via (currently) manual mongodb export