how to setup local appview dev environment#
Appview requires several microservices from knot and spindle to entire atproto infra. This test environment is implemented under nixos vm.
- copy
contrib/example.envto.env, fill it and source it - run vm
nix run --impure .#vm
- trust the generated cert from host machine
# for macos
sudo security add-trusted-cert -d -r trustRoot \
-k /Library/Keychains/System.keychain \
./nix/vm-data/caddy/.local/share/caddy/pki/authorities/local/root.crt
- create test accounts with valid emails (use
create-test-account.sh) - create default labels (use
setup-const-records) - restart vm with correct owner-did
for git-https, you should change your local git config:
[http "https://knot.tngl.boltless.dev"]
sslCAPath = /Users/boltless/repo/tangled/nix/vm-data/caddy/.local/share/caddy/pki/authorities/local/