At first, run from the root folder of this repository to enter the nix-shell:
nix-shell
You need to be inside this nix-shell to run any of the instructions below.
From the root folder of the repo:
npm install
npm test
npm run network 2
You can replace "2" by the number of agents that you want to boot up
npm run network:holo
Go 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.toml
to 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.toml
to the latest hdk version. - Replace the hash for the dependencies to the newer one.
- Run
npm run network 2
and check that everything works correctly. - Run
npm run network:holo
and check that everything works correctly. - Package elemental-chess for a new release, by executing the steps in the following section.
npm run package
At 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.