This repository is designed to be coded following this guide.
To change the code, you can work either opening VSCode inside the root folder of the repo or in this folder, you should have rust intellisense either way. It is recommended to use the rust-analyzer VSCode extension.
- Having
nix-shellinstalled. - Have
holochain-run-dnainstalled globally, and thelair-keystoredescribed in its README as well.
Run this before running any command in this readme:
$(nix-build https://holochain.love --no-link -A pkgs.holonix)/bin/holonixThis will setup your environment to be able to execute holochain.
CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown
dna-util -c todo_rename_zome.dna.workdir/After having built the DNA:
cd test
npm install
npm testAfter having built the DNA:
holochain-run-dna todo_rename_zome.dna.gzNow holochain will be listening at port 8888;
Restart the command if it fails (flaky holochain start).