···5656`nixosConfiguration` to do so.
57575858To begin, head to `http://localhost:3000/knots` in the browser
5959-and generate a knot secret. Replace the existing secret in
6060-`nix/vm.nix` (`KNOT_SERVER_SECRET`) with the newly generated
6161-secret.
5959+and generate a knot secret. Set `$TANGLED_KNOT_SECRET` to it,
6060+ideally in a `.envrc` with [direnv](https://direnv.net) so you
6161+don't lose it.
62626363You can now start a lightweight NixOS VM using
6464`nixos-shell` like so:
···91919292## running a spindle
93939494-Be sure to change the `owner` field for the spindle in
9595-`nix/vm.nix` to your own DID. The above VM should already
9696-be running a spindle on `localhost:6555`. You can head to
9797-the spindle dashboard on `http://localhost:3000/spindles`,
9898-and register a spindle with hostname `localhost:6555`. It
9999-should instantly be verified. You can then configure each
100100-repository to use this spindle and run CI jobs.
9494+Be sure to set `$TANGLED_SPINDLE_OWNER` to your own DID.
9595+The above VM should already be running a spindle on `localhost:6555`.
9696+You can head to the spindle dashboard on `http://localhost:3000/spindles`,
9797+and register a spindle with hostname `localhost:6555`. It should instantly
9898+be verified. You can then configure each repository to use this spindle
9999+and run CI jobs.
101100102101Of interest when debugging spindles:
103102