Skip to content

lightningrodlabs/branchy

Repository files navigation

Branchy

An attachments hierarchy app for organizing resources in We

Installation

  1. Install the holochain dev environment: https://developer.holochain.org/docs/install/
  2. Clone this repo: git clone https://github.com/lightningrodlabs/branchy && cd ./branchy
  3. Enter the nix shell: nix develop
  4. Install the dependencies with: npm install
  5. Copy a compatible version of we to we_dev/we.AppImage

Building the DNA

  • Build the DNA (assumes you are still in the nix shell for correct rust/cargo versions from step above):
    • Assemble the DNA:
npm run build:happ

Running the DNA tests

npm run test

UI

To test out the UI make sure you have first copied a version of we to we_dev :

npm run applet-dev

Package

To package the web happ:

npm run package

You'll have the branchy.webhapp in workdir, and it's component branchy.happ in dna/workdir/happ, and ui.zip in ui/apps/branchy.

License

License: CAL 1.0

Copyright (C) 2024, Lighning Rod Labs, based on code Copyright (C) Holochain Foundation

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.