Skip to content

Commit

Permalink
Note down commands to save/load config
Browse files Browse the repository at this point in the history
  • Loading branch information
mbr committed Jan 6, 2024
1 parent e1e8135 commit f0f8cfa
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.
With these prerequisites fulfilled, `rockslide` should operate normally as it does on Linux.

0 comments on commit f0f8cfa

Please sign in to comment.