doc: moved docker instructions to main README

This commit is contained in:
2022-04-17 15:47:13 +02:00
parent 11122d350e
commit 6650603814
5 changed files with 22 additions and 19 deletions

View File

@@ -2,9 +2,28 @@
Matrix Application Service for Okupa mi coche
## Setup
1. Install Docker in local machine
2. Add following line to /etc/hosts
```
127.0.0.1 okupamicoche-synapse
```
3. Go to `docker/synapse` and run `docker-compose up`
## Run
1. Start synapse: `docker restart okupamicoche-synapse`
2. Run app service: `./gradlew run`
## Launch Element with dev profile
1. Copy `docker/element/config.json` to `~/.config/Element-omc-dev/config.json`.
2. Launch new Element instance with `element-desktop --profile omc-dev`.
3. Send `/devtools` to any Element room. Enable `Developer mode` and `Show hidden events in timeline`.
Step 1 and 3 are only required in first run.
- Homeserver: `http://okupamicoche-synapse:8008`