At first, run from the root folder of this repository to enter the nix-shell:
nix-shellYou need to be inside this nix-shell to run any of the instructions below.
From the root folder of the repo:
npm installnpm testnpm run network 2You can replace "2" by the number of agents that you want to boot up
npm run network:holoGo to the 2 pages that opens, and login with any email and password.
Do the following steps for all these repositories:
- Upgrade the default.nix for this package to the latest holochain version.
- Change the version of the
Cargo.tomlto the latest hdk version. - Commit the newer versions, and copy the hash of the commit.
And then in this repository, do this:
- Upgrade the default.nix for this package to the latest holochain version.
- Change the version of the
Cargo.tomlto the latest hdk version. - Replace the hash for the dependencies to the newer one.
- Run
npm run network 2and check that everything works correctly. - Run
npm run network:holoand check that everything works correctly. - Package elemental-chess for a new release, by executing the steps in the following section.
npm run packageAt this point, you will have the application bundled in workdir, both the .webhapp for the launcher and the .happ and the UI .zip for Holo.