+3
-2
docs/hacking.md
+3
-2
docs/hacking.md
···
56
`nixosConfiguration` to do so.
57
58
To begin, head to `http://localhost:3000/knots` in the browser
59
-
and generate a knot secret. Set `$TANGLED_KNOT_SECRET` to it,
60
ideally in a `.envrc` with [direnv](https://direnv.net) so you
61
don't lose it.
62
···
91
92
## running a spindle
93
94
-
Be sure to set `$TANGLED_SPINDLE_OWNER` to your own DID.
95
The above VM should already be running a spindle on `localhost:6555`.
96
You can head to the spindle dashboard on `http://localhost:3000/spindles`,
97
and register a spindle with hostname `localhost:6555`. It should instantly
···
56
`nixosConfiguration` to do so.
57
58
To begin, head to `http://localhost:3000/knots` in the browser
59
+
and create a knot with hostname `localhost:6000`. This will
60
+
generate a knot secret. Set `$TANGLED_VM_KNOT_SECRET` to it,
61
ideally in a `.envrc` with [direnv](https://direnv.net) so you
62
don't lose it.
63
···
92
93
## running a spindle
94
95
+
Be sure to set `$TANGLED_VM_SPINDLE_OWNER` to your own DID.
96
The above VM should already be running a spindle on `localhost:6555`.
97
You can head to the spindle dashboard on `http://localhost:3000/spindles`,
98
and register a spindle with hostname `localhost:6555`. It should instantly