lemmy/README.md

51 lines
1.2 KiB
Markdown

# lemmy
> A federated link aggregator in Rust
<!-- metadata -->
* **Category**: Apps
* **Status**: 1, alpha
* **Image**: [`lemmy`](https://hub.docker.com/r/dessalines/lemmy) etc., 4, upstream
* **Healthcheck**: Yes
* **Backups**: No
* **Email**: No
* **Tests**: 2
* **SSO**: No
<!-- endmetadata -->
## Quick start
* `abra app new lemmy --secrets`
* `abra app config <app-name>`
* `abra app deploy <app-name>`
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
## Updating `config.hjson`
If you make changes in your environment after deployment, e.g. using
`abra app config <app-name>`, the new settings won't automatically be applied to
your `config.hjson`.
**If you haven't made manual changes to your `config.hjson`**, then delete the
auto-generated `config.hjson`, and let Lemmy auto-generate a new one:
```
abra app run <app-name> app rm /configconfig.hjson
abra app restart <app-name> app
```
**If you made manual changes to your `config.hjson`**, then compare the old and
the new files, and manually merge the changes:
```
abra app run <app-name> app sh
apt update && sudo apt install vim-tiny
diff -ur /config/config.hjson /config/config.hjson.tmpl
vim /config/config.hjson
exit
abra app restart <app-name> app
```