doc: moved docker instructions to main README
This commit is contained in:
19
README.md
19
README.md
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user