2019-11-17 17:11:33 +00:00
|
|
|
# Relay
|
|
|
|
|
|
|
|
Manages remote relays
|
|
|
|
|
2019-12-18 14:58:33 +00:00
|
|
|
!!! tip "Environment"
|
2020-01-30 19:27:25 +00:00
|
|
|
You need to run these commands with the appropriate environment loaded, so probably prefix with `MIX_ENV=prod`.
|
2019-12-18 14:58:33 +00:00
|
|
|
|
2019-11-17 17:11:33 +00:00
|
|
|
## Make your instance follow a mobilizon instance
|
|
|
|
|
|
|
|
```bash
|
2019-12-18 14:58:33 +00:00
|
|
|
mix mobilizon.relay follow <relay_host>
|
2019-11-17 17:11:33 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Example:
|
|
|
|
```bash
|
2019-12-18 14:58:33 +00:00
|
|
|
mix mobilizon.relay follow example.org
|
2019-11-17 17:11:33 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Make your instance unfollow a mobilizon instance
|
|
|
|
|
|
|
|
```bash
|
2019-12-18 14:58:33 +00:00
|
|
|
mix mobilizon.relay unfollow <relay_host>
|
2019-11-17 17:11:33 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Example:
|
|
|
|
```bash
|
2019-12-18 14:58:33 +00:00
|
|
|
mix mobilizon.relay unfollow example.org
|
2019-11-17 17:11:33 +00:00
|
|
|
```
|