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