Skip to content

ThetaSinner/hc-ops

Repository files navigation

Developer setup

Ubuntu setup:

apt update
apt install libsqlite3-dev
cargo install diesel_cli --no-default-features --features sqlite

export DATABASE_URL=development.sqlite3

In another shell, if you want a Holochain instance to test against:

nix develop

The inside that shell:

hc s clean && echo -n "1234" | hc s --piped create && echo -n "1234" | hc s --piped -f 8888 run

Using in a test setup

With a running conductor, tag the conductor:

cargo run --features discover -- conductor-tag add test

Build the fixture:

cd fixture
./package.sh
cd ..

Install the fixture:

cargo run -- admin --tag test install-app ./fixture/happ/fixture.happ

Initialise the fixture:

cargo run -- init --tag test execute fixture

When prompted for hte zome to call, use fixture.

You should see Init result: Pass.

About

The missing tooling for operating Holochain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors