Sensemaker-lite
https://github.com/neighbour-hoods/sensemaker-lite
Environment Setup
Install the holochain dev environment (only nix-shell is required): https://developer.holochain.org/docs/install/
Enable Holochain cachix with:
Clone this repo and
cd
inside of it.Enter the nix shell by running this in the root folder of the repository:
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-shell, otherwise they won't work.
Bootstrapping a network
Create a whole network of nodes connected to each other and their respective UIs with.
Substitute the "3" for the number of nodes that you want to bootstrap in your network.
This will also bring up the Holochain Playground for advanced introspection of the conductors.
Running an agent
If you only want to run a single conductor and a UI connected to it:
To run another agent, open another terminal, and execute again:
Each new agent that you create this way will get assigned its own port and get connected to the other agents.
Running the DNA tests
Building the DNA
Package
To package the web happ:
You'll have the sensemaker_happ.webhapp
in workdir
. This is what you should distribute so that the Holochain Launcher can install it.
You will also have its subcomponent sensemaker_happ.happ
in the same folder`.
Documentation
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.
Last updated