this repo has no description
1# how to setup local appview dev environment
2
3Appview requires several microservices from knot and spindle to entire atproto infra. This test environment is implemented under nixos vm.
4
51. copy `contrib/example.env` to `.env`, fill it and source it
62. run vm
7 ```bash
8 nix run --impure .#vm
9 ```
103. trust the generated cert from host machine
11 ```bash
12 # for macos
13 sudo security add-trusted-cert -d -r trustRoot \
14 -k /Library/Keychains/System.keychain \
15 ./nix/vm-data/caddy/.local/share/caddy/pki/authorities/local/root.crt
16 ```
174. create test accounts with valid emails (use [`create-test-account.sh`](./scripts/create-test-account.sh))
185. create default labels (use [`setup-const-records`](./scripts/setup-const-records.sh))
196. restart vm with correct owner-did
20
21for git-https, you should change your local git config:
22```
23[http "https://knot.tngl.boltless.dev"]
24 sslCAPath = /Users/boltless/repo/tangled/nix/vm-data/caddy/.local/share/caddy/pki/authorities/local/
25```