Crates.io | holochain_cli_launch |
lib.rs | holochain_cli_launch |
version | 0.0.12 |
source | src |
created_at | 2023-01-24 11:05:11.704362 |
updated_at | 2023-02-24 20:48:09.558109 |
description | A CLI to launch holochain apps in a Holochain Launcher environment for testing and development purposes. |
homepage | https://developer.holochain.org |
repository | https://github.com/holochain/launcher |
max_upload_size | |
id | 766597 |
size | 530,292 |
CLI to launch holochain apps in a sandboxed Holochain Launcher environment for testing and development purposes.
This CLI is part of the holochain development environment (holonix) and therein callable via hc launch
.
If you prefer to install it globally:
cargo install holochain_cli_launch
echo pass | hc-launch --piped -n 2 path/to/my/app.webhapp network mdns
--ui-path
option for 2 agents communicating over mdns network, initializing lair-keystore "on-the-fly"
by piping a password through on the command line and watching for file changes in the specified UI path:echo pass | hc-launch --piped -n 2 path/to/my/app.happ --ui-path path/to/my/ui/assets --watch network mdns
echo pass | hc-launch --piped -n 2 path/to/my/app.happ --ui-port 5500 network mdns
Documentation is on https://docs.rs/holochain_cli_launch