Monorepo for Tangled tangled.org

hacking.md: more details about TANGLED_VM_SPINDLE_OWNER

I think it'd be nice to make setting `TANGLED_VM_SPINDLE_OWNER`
optional and run VMs without a spindle in that case, but
let's just document the status quo for now.

Signed-off-by: Ilya Grigoriev <ilyagr@users.noreply.github.com>

Changed files
+8 -1
docs
+8 -1
docs/hacking.md
··· 61 61 ideally in a `.envrc` with [direnv](https://direnv.net) so you 62 62 don't lose it. 63 63 64 + You will also need to set the `$TANGLED_VM_SPINDLE_OWNER` 65 + variable to some value. If you don't want to [set up a 66 + spindle](#running-a-spindle), you can use any placeholder 67 + value. 68 + 64 69 You can now start a lightweight NixOS VM using 65 70 `nixos-shell` like so: 66 71 ··· 92 97 93 98 ## running a spindle 94 99 95 - Be sure to set `$TANGLED_VM_SPINDLE_OWNER` to your own DID. 100 + You will need to find out your DID by entering your login handle into 101 + <https://pdsls.dev/>. Set `$TANGLED_VM_SPINDLE_OWNER` to your DID. 102 + 96 103 The above VM should already be running a spindle on `localhost:6555`. 97 104 You can head to the spindle dashboard on `http://localhost:3000/spindles`, 98 105 and register a spindle with hostname `localhost:6555`. It should instantly