From acd8a2aaee278fa976b48d232099ad3e4d039085 Mon Sep 17 00:00:00 2001 From: Macley <26381427+Macleykun@users.noreply.github.com> Date: Wed, 23 Aug 2023 20:53:43 +0200 Subject: [PATCH] Add commands to run it in docker and compile it --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 87faa48..306c0fc 100644 --- a/README.md +++ b/README.md @@ -5,5 +5,18 @@ A supposedly lighter alternative to [omnisette-server](https://github.com/SideSt Like `omnisette-server`, it supports both currently supported SideStore's protocols (anisette-v1 and anisette-v3) but it can also be used with AltServer-Linux. -You can run it using docker, or build it with dub (requires both openssl and zlib, see the Dockerfile -for dependencies). +## Run using Docker + +```bash +docker run -d --restart always --name anisette-v3 -p 6969:6969 --volume anisette-v3_data:/home/Alcoholic/.config/anisette-v3/lib/ dadoum/anisette-v3-server +``` + +## Compile using dub + +```bash +apt update && apt install --no-install-recommends -y ca-certificates ldc git clang dub libz-dev libssl-dev +git clone https://github.com/Dadoum/anisette-v3-server.git; cd anisette-v3-server +DC=ldc2 dub build -c "static" --build-mode allAtOnce -b release --compiler=ldc2 +stat anisette-v3-server +``` +