Proje
hApp Example
- Nasıl çalıştırılır
- kaydedilmedi
- Holochain sürümü
- 0.0.41-alpha4
- Etkinlik
- durgun
- Kontrol edildi
- 27 Ekim 2026
What is hApp Example and what is it for?
hApp Example is an example Holochain app project that shows one way to set up an app's build and test environment. Developers read or copy it as a starting point for their own build files; it is not an application that end users run.
hApp Example is an example app project published under the Holo-Host organisation on GitHub, kept as a worked example of how to configure a Holochain app's build and test environment rather than as software to run. It holds a small Rust app alongside the Nix files — default.nix, pkgs.nix and shell.nix — that a developer copies into their own project and edits to point at their app.
The template's point is a repeatable environment. Instead of each developer assembling a toolchain by hand, the example shows one set of configuration files that builds an app's DNA using tooling from holo-nixpkgs, supports developing against either a local or a bundled version of the Holochain core, and wires the same configuration into continuous integration services. A September 2019 development update from the Holochain project introduced it as a response to dependency breakage between core releases.
In practice a developer copies the three Nix files, replaces the example name with their own, and builds; the example also demonstrates scenario tests run through the hc test command, with Makefile targets and Hydra and CircleCI integration. The repository's README is where the exact steps and file roles are documented. The same documentation describes holochain-rust and sim2h, an early Holochain development environment, and no source read here states that it works with current releases.
Nasıl edinilir
Kütüphane olarak
- Copy default.nix, pkgs.nix and shell.nix into your own project, substituting your app's name for happ-example.
- Run nix-build -A happ-example to produce a release DNA.
- Run nix-shell to develop against the bundled Holochain version, or nix-shell -I holochain-rust=../holochain-rust to develop against a local holochain-rust checkout.
- These commands are quoted from the repository's own documentation of its build environment; no source read for this profile states that they work with current Holochain releases.
İnsanların sorduğu sorular
- What does hApp Example provide?
- Three Nix configuration files — default.nix, pkgs.nix and shell.nix — plus a small Rust example app, a Makefile, and JavaScript scenario tests in the test directory. kaynak
- How do the tests run?
- The repository documents JavaScript scenario tests written with Try-o-rama and executed with hc test, runnable through make test or make nix-test, with CircleCI configured to run the same command. kaynak
- Is hApp Example compatible with current Holochain releases?
- No source read for this profile says so. The repository documents holochain-rust and sim2h, an early Holochain development environment, and the project's activity is recorded as stalled. kaynak
2 herkese açık kaynaktan derlendi; son kontrol: 23 Eylül 2026.
Deneyin: hApp Example
- GitHub'daki kodGitHub'da aç ↗Last change 29 Nisan 2022.
- Sürümv0.0.0-alpha1Ön sürüm, yayımlandı 3 Aralık 2019.
- Projenin kendi dosyaları nasıl çalıştırıldığını belirtmiyor.
Ayrıntılar ve kaynaklar
- Kaynak
- Holo-Host/happ-template
Kanıt
- Sürüm
- github.com/Holo-Host/happ-template/releases/tag/v0.0.0-alpha1bir sürümle yayımlanmış · 20 Ekim 2026 tarihinden beri görülüyor · github.release@1
- Son değişiklik
- api.github.com/repos/Holo-Host/happ-templateüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · github.repository@1
- Etkinlik
- api.github.com/repos/Holo-Host/happ-templateüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · liveness@1
Uyumluluk
- hdk
- 0.0.41-alpha4 · Cargo.lock @ 36f6b05
- hdi
- —
- holochain-client
- —
- happ.yaml
- yok
- web-happ.yaml
- yok