Summary
This post is a part of Lemmy 0.16.7 on OpenBSD 7.2 about Lemmy.
Premise
The server is OpenBSD and Rust (rustlang) is installed. Also, there is _lemmy
user whose home directory is /var/lemmy
.
Environment
Tutorial
pict-rs server
Lemmy uses pict-rs to store image. It is a simple image hosting service which is open source and written in Rust, too.
Prepare for the dependencies
You have to install protobuf
, “Protocol Buffers – Google’s data interchange format”
Therefore switch back to your own user if you are acting as _lemmy
to install it:
$ exit
$ doas pkg_add protobuf
The output was:
quirks-6.42 signed on 2023-01-13T18:22:41Z
protobuf-3.21.6: ok
[gs-fb-comments]