From f0f8cfaab469191207dad12612f5c39cb066c5fb Mon Sep 17 00:00:00 2001 From: Marc Brinkmann Date: Sat, 6 Jan 2024 02:08:46 +0100 Subject: [PATCH] Note down commands to save/load config --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ab19055..a512c45 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ # rockslide +## Container runtime configuration + +``` +curl -u :devpw localhost:3000/_rockslide/config/foo/bar/prod > foobarprod.toml +curl -v -X PUT -u :devpw localhost:3000/_rockslide/config/foo/bar/prod --data-binar +y "@foobarprod.toml" +``` + ## macOS suppport macOS is supported as a tier 2 platform to develop rockslide itself, although currently completely untested for production use. [podman can run on Mac OS X](https://podman.io/docs/installation), where it will launch a Linux virtual machine to run containers. The `rockslide` application itself and its supporting nix-derivation all account for being built on macOS. @@ -21,4 +29,4 @@ podman run -it debian:latest /bin/sh -c 'echo everything is working fine' `rockslide` will check an envvar `PODMAN_IS_REMOTE`, if it is `true`, it will assume a remote instance and act accordingly. This envvar is set to `true` automatically when running `nix-shell` on a macOS machine. -With these prerequisites fulfilled, `rockslide` should operate normally as it does on Linux. \ No newline at end of file +With these prerequisites fulfilled, `rockslide` should operate normally as it does on Linux.