= social_sensemaker
integrating rep_lang
& Holochain.
== submodules
either:
or, after cloning:
== holochain-client-js wrapper setup
== entering dev environment
install a https://nixos.wiki/wiki/Flakes#Installing_flakes[Flakes] supporting https://nixos.org/download.html[`nix`].
edit /etc/nix/nix.conf
to include the following:
optionally (but strongly suggested because it will dramatically speed up first-build times), also add these lines to nix.conf
in order to enable the Holochain binary caches.
public keys can be checked at the substituter URLs.
substituters = https://cache.nixos.org/ https://cache.holo.host/ https://holochain-ci.cachix.org trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.holo.host-1:lNXIXtJgS9Iuw4Cu6X0HINLu9sTfcjEntnrgwMQIMcE= cache.holo.host-2:ZJCkX3AUYZ8soxTLfTb60g+F3MkWD7hkH9y8CgqwhDQ= holochain-ci.cachix.org-1:5IUSkZc0aoRS53rfkvH9Kid40NpyjwCMCzwRTXy+QN8=
] and https://github.com/direnv/direnv[
direnv`] to manage tooling and shell environment transparently.then (from the repo root) run:
== building & running
(inside of the dev shell, from prev section)
building:
npm install
running:
=== running with multiple conductors
npm run hc:clean
hc sandbox -f=9009 generate happs/social_sensemaker -r=9999 network mdns
cargo run --bin rlp -- -f 9009 -p 9999 2> /tmp/rlp1.log
hc sandbox -f=9008 generate happs/social_sensemaker -r=9998 network mdns
create an IE in terminal 1-2 and see it appear in terminal 2-2.
== sweettest tests
$ npm run hc:build $ npm run hc:pack