This is an intermidiate Holochain training, with step by step exercises and their tests.
It consists of a private publication hApp that has already been implemented, but only its backend.
Your goal is to re-implement this private publication happ, one step at a time.
To do that, go into EXERCISES.md
and follow its instructions. Have fun!
-
Install the holochain dev environment: https://developer.holochain.org/docs/install/
-
Clone this repo and
cd
inside of it. -
Enter the nix shell by running this in the root folder of the repository:
nix develop
npm install
This will install all the needed dependencies in your local environment, including holochain
, hc
and npm
.
Run all the other instructions in this README from inside this nix develop shell, otherwise they won't work.
npm test
This repository is using this tooling:
- NPM Workspaces: npm v7's built-in monorepo capabilities.
- hc: Holochain CLI to easily manage Holochain development instances.
- @holochain/tryorama: test framework.
- @holochain/client: client library to connect to Holochain from the UI.
- @holochain-playground/cli: introspection tooling to understand what's going on in the Holochain nodes.