0.2.0 • Published 3 months ago

@holochain-playground/cli v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@holochain-playground/cli

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.

Running directly pointing to a running conductor

npx @holochain-playground/cli ws://localhost:8888 ws://localhost:8889

This URL should point to the Admin interfaces of the conductors.

Setting up in an NPM hApp development environment that uses hc sandbox

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.

  1. Install the CLI with:
npm install -D @holochain-playground/cli
  1. Add a playground script in your package.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.

0.2.0

3 months ago

0.1.1

1 year ago

0.0.12

1 year ago

0.1.0

1 year ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago