Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.12 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.12 KB

Zome Developer Setup

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.

Requirements

  • Having run through holochain RSM installation.
  • Run all the steps described in this README.md inside the nix-shell of the holochain core repository.
  • Have holochain-run-dna installed globally, and the lair-keystore described in its README as well.

Building

CARGO_TARGET=target cargo build --release --target wasm32-unknown-unknown
dna-util -c todo_rename_zome.dna.workdir/

Testing

After having built the DNA:

cd test
npm install
npm test

Running

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).