Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lightningrodlabs/whos-in
Distributed Collective Action Network
https://github.com/lightningrodlabs/whos-in
Last synced: 3 months ago
JSON representation
Distributed Collective Action Network
- Host: GitHub
- URL: https://github.com/lightningrodlabs/whos-in
- Owner: lightningrodlabs
- Created: 2023-03-21T14:19:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T16:42:31.000Z (5 months ago)
- Last Synced: 2024-09-13T05:43:50.258Z (5 months ago)
- Language: Svelte
- Homepage: https://dcan.app
- Size: 31.2 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-weave - lightningrodlabs/whos-in - applet-view](https://github.com/lightningrodlabs/whos-in/tree/feature/cross-applet-view) | [@LeosPrograms](https://github.com/LeosPrograms) | (Happs)
- awesome-weave - lightningrodlabs/whos-in - applet-view](https://github.com/lightningrodlabs/whos-in/tree/feature/cross-applet-view) | [@LeosPrograms](https://github.com/LeosPrograms) | (Happs)
README
# Whos in?
## Environment Setup
> PREREQUISITE: set up the [holochain development environment](https://developer.holochain.org/docs/install/).
Enter the nix shell by running this in the root folder of the repository:
```bash
nix-shell
npm install
```**Run all the other instructions in this README from inside this nix-shell, otherwise they won't work**.
## Running 2 agents
```bash
npm start
```This will create a network of 2 nodes connected to each other and their respective UIs.
It will also bring up the Holochain Playground for advanced introspection of the conductors.## Running the backend tests
```bash
npm test
```## Bootstrapping a network
Create a custom network of nodes connected to each other and their respective UIs with:
```bash
AGENTS=3 npm run network
```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.## Packaging
To package the web happ:
``` bash
npm run package
```You'll have the `whosin.webhapp` in `workdir`. This is what you should distribute so that the Holochain Launcher can install it.
You will also have its subcomponent `whosin.happ` in the same folder`.## Documentation
This repository is using these tools:
- [NPM Workspaces](https://docs.npmjs.com/cli/v7/using-npm/workspaces/): npm v7's built-in monorepo capabilities.
- [hc](https://github.com/holochain/holochain/tree/develop/crates/hc): Holochain CLI to easily manage Holochain development instances.
- [@holochain/tryorama](https://www.npmjs.com/package/@holochain/tryorama): test framework.
- [@holochain/client](https://www.npmjs.com/package/@holochain/client): client library to connect to Holochain from the UI.
- [@holochain-playground/cli](https://www.npmjs.com/package/@holochain-playground/cli): introspection tooling to understand what's going on in the Holochain nodes.