On a quest for agency in Bellairs
1# Bellairs Quest
2
3Instructions to use Tangled on `git.recoil.org`:
4
5- Ask @anil.recoil.org to add you to the knot.
6
7- Add your SSH key to the tangled.sh login under 'Settings'.
8
9- use port 2222 for the SSH !!!
10 Put the following into `~/.ssh/config`:
11
12```
13Host git.recoil.org
14 User git
15 Port 2222
16```
17
18- Wait a minute for the relay to catch up.
19
20- Try `ssh git.recoil.org` to ensure that you have a login and you get a message saying that this is a knot and that it doesnt like interactive mode (instead of access denied).
21
22- Try cloning over https and pushing over SSH.
23
24### MVP
25
26Run the server with:
27
28```
29$ dune exec -- mvp/ocaml/server/server.exe --capnp-secret-key-file server.pem --capnp-listen-address tcp:127.0.0.1:1234
30```
31
32Run the client (in another terminal):
33
34```
35$ export BELLAIRS_CAP=storage.cap # this is located on the same dir as where the server has started
36$ dune exec -- mvp/ocaml/client/client.exe read foo
37foo: ""
38$ dune exec -- mvp/ocaml/client/client.exe write foo 'hello bellairs!'
399 bytes successfully written into foo.
40$ dune exec -- mvp/ocaml/client/client.exe read foo
41foo: "hello bar"
42```