Small CLI utility to run the Holochain Playground connected to a real Holochain conductor.
This is useful as an introspection tool, to understand what's really going on in your Holochain node.
npx @holochain-playground/cli ws://localhost:8888 ws://localhost:8889
This URL should point to the Admin interfaces of the conductors.
If you run this CLI from the same folder from which you run your hc sandboxes, it will automatically connect with the conductors that are live.
- Install the CLI with:
npm install -D @holochain-playground/cli
- Add a
playground
script in yourpackage.json
:
{
...
"scripts": {
"start": "concurrently \"npm run start:hc\" \"npm run playground\"",
"start:hc": "hc s generate --run=8888",
"playground": "holochain-playground"
}
}
Now, when you run npm start
, it will bring up the playground connected to the conductor.