This folder has an example DNA for the todo_rename_zome
zome. The actual code for the zome is in zomes/todo_rename_zome
.
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.
- Having run through holochain RSM installation.
- Run all the steps described in this README.md inside the
nix-shell
of theholochain
core repository. - Have
holochain-run-dna
installed globally, and thelair-keystore
described in its README as well.
CARGO_TARGET=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 test
After having built the DNA:
holochain-run-dna todo_rename_zome.dna.gz
Now holochain
will be listening at port 8888
;
Restart the command if it fails (flaky holochain start).