The Neighbourhoods Launcher, a Holochain app, is a common entryway into creating and joining p2p networks called Neighbourhoods. Using the Launcher, you can build and join Neighbourhoods that use NH-compatible "applets" along with the social-sensemaker.
Using the Launcher, one can create and access personal profiles, search for and join existing neighbourhoods, and add/configure applets into a neighbourhood. The Launcher is also where members can invite each other and interact using applets. Eventually, the Launcher will support inspection of the social sensemaker dashboard.
NOTE: You may encounter slow/tedious data refresh and difficulty in multi-agent environments due to a known issue.
develop
branch): git clone https://github.com/neighbour-hoods/nh-launcher && cd ./nh-launcher && git checkout develop
nix develop
(if you are having issues with this command, see: https://hackmd.io/BKCt3FckSiSDJ4aSJ1Ur6A, as you may have to enable nix commands with the following terminal commands: mkdir -p ~/.config/nix && echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
)pnpm install
.env
file, it will copy .env.example
to .env
. If you do have an existing .env
file, please be sure to update it to have all the variables from the example file.pnpm run dev
(browser opens after 20 seconds sleep, if the interface doesn't render, check the logs and refresh if there's no objevious error)pnpm run dev2
(browser opens after 20 seconds sleep, if the interface doesn't render, check the logs and refresh if there's no objevious error)pnpm start
pnpm run stop:local-services
The above scripts all take care of the messy details of running the launcher (or any other multi agent system in Holochain). However, if you're interested in understanding what happens behind the scenes:
pnpm build
)pnpm run start:local-services
)pnpm run clean:sandbox
)Build the DNA (assumes you are still in the nix shell for correct rust/cargo versions from the step above):
npm run build:happ
Run all tests:
npm run test
Run the nh-launcher tests:
npm run test:ui
Run the sensemaker tests:
npm run test:client
For a Tauri environment:
npm run start
For a browser environment:
npm run dev2
To help develop applications, we've added a placeholder applet-dev-workspace
directory to the project. This allows applet devs to use the same nix environment, holochain version, and other libraries. See the [./applet-dev-workspace/README.md] for more info.
The NH Launcher is based on a fork of Lightning Rod Labs We
Copyright (C) 2021, Harris-Braun Enterprises, LLC
This program is free software: you can redistribute it and/or modify it under the terms of the license provided in the LICENSE file (CAL-1.0). This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.