development flow hololedger #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Story: Easy Local Holochain Development & Deployment
Goal
Make it trivial for any developer to:
This repo should feel like:
Non-Goals
Repository Structure (example)
Developer Flow (Happy Path)
Scripts (Required Behavior)
scripts/install.shPurpose: one-time setup
Responsibilities:
Install Rust (if missing)
Install Holochain binaries:
holochainhcCreate local directories:
conductor/keystoreconductor/dataValidate versions
Output:
scripts/build.shPurpose: build everything
Responsibilities:
cargo build --release)hc dna pack).dnafile inconductor/scripts/run.shPurpose: start a local node
Responsibilities:
Start
holochain conductorLoad conductor config
Run in:
screenorzinit(preferred if installed)Example (screen fallback):
scripts/stop.shPurpose: clean shutdown
screensession or zinit servicescripts/package.shPurpose: reproducible artifact
Build DNA
Bundle:
.dnaconductor-config.yamlOutput to
dist/zinit Integration
We support zinit first-class, but it’s optional.
zinit/holochain.yamlIf zinit is installed:
If not → scripts fall back to
screen.Rust Client (Required Example)
Purpose
Demonstrate:
Location
Minimal Example
Auto Builders (CI)
.github/workflows/build-holochain.ymlTriggered on:
Responsibilities:
No publishing, no deploy — just confidence.
README Requirements
README must answer only:
No long explanations.
Definition of Done
Work is done, scripts have been added in scritps dir. Using these scripts a user can install prerequisites, start a node with the app loaded, and perform some examples using the client (also in repo)