Skip to content

Commit

Permalink
Review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Jun 18, 2024
1 parent 52c28a5 commit f633ba0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pages/get-started/upgrade-holochain-0.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Alternatively open `flake.nix` in an editor. It should look like this:
holonix.url = "github:holochain/holochain";
holonix.inputs.versions.follows = "versions";
};
...
}
```
Expand Down Expand Up @@ -64,7 +65,8 @@ nix flake update

!!! note
This takes all updates from Holonix, possibly including an update to the Rust version that Holonix is currently using.
You should run this command whenever you update your Cargo dependencies to the latest HDI/HDK versions.
It is a good idea to run this common regularly to keep your development environment up to date. Holochain provides a cache
of the latest version of Holonix so staying up to date will help keep your developer environment and CI fast.
!!!

#### Open a dev shell and check the update has worked
Expand Down Expand Up @@ -151,6 +153,11 @@ npm install --save-dev @holochain/hc-spin@">=0.300.0 <0.400.0"

You can always check what versions of `@holochain/hc-spin` are available on the [NPM registry](https://www.npmjs.com/package/@holochain/hc-spin?activeTab=versions).

!!!note
If you happen to be running on a recent Linux version (e.g. Ubuntu 24.04+), you might encounter an error starting your hApp with `hc-spin`.
There is a guide here you should check out [the advanced installation guide](../install-advanced#fixing-the-suid-sandbox-error-in-ubuntu-24-04).
!!!

#### Update `@holochain/tryorama`

In your project's `tests/package.json` you will find a dependency on `@holochain/tryorama`. This should be using `0.15.x`, which is the version compatible with Holochain 0.2. To work with Holochain 0.3, you need to update to `0.16.x`.
Expand Down

0 comments on commit f633ba0

Please sign in to comment.