mirror of
https://github.com/Dadoum/anisette-v3-server.git
synced 2024-11-22 03:16:08 +00:00
Merge pull request #2 from Macleykun/main
Add commands to run it in docker and how to compile it
This commit is contained in:
commit
c21bb461a9
17
README.md
17
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
|
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.
|
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
|
## Run using Docker
|
||||||
for dependencies).
|
|
||||||
|
```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
|
||||||
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user