Docker

If you want to use docker, you can use our snage/snage image. Replace $VERSION with the latest version. Currently: loading

docker run --rm snage/snage:$VERSION help snage <command> ...

To work with your notes, mount your project into the container and run snage as your own user. Otherwise git refuses to read the repository ("dubious ownership") and the providers fail.

$ docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/repo" -w /repo snage/snage:$VERSION lint
$ docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/repo" -w /repo -p 8080:8080 snage/snage:$VERSION serve