A small and lightweight server for Harmony
Harmony server implemented in Rust.
It uses hyper for serving HTTP via hrpc-rs, and currently supports sled
and sqlite
as a database backend.
Note: the CI builds are currently compiled with sled
DB backend.
With docker (or podman):
docker pull yusdacra/scherzo:latest
docker run -d -p 2289:2289 -v db:/srv/scherzo/db -v media:/srv/scherzo/media yusdacra/scherzo:latest
One liner to start the latest master CI artifact:
mkdir scherzo && cd scherzo && curl -L https://github.com/harmony-development/scherzo/releases/download/continuous/scherzo > scherzo && chmod +x scherzo && ./scherzo
See the example config for a commented config file with all options available.
rust-toolchain.toml
installed
mold
, clang
and protoc
installedcargo build
If you have Nix, you can just do:
nix build
to build, nix develop
for development shellnix-build
to build, nix-shell shell.nix
for development shellYou can also get an executable binary from the latest Continous build
release.