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 run build:happ
Enter the UI folder:
cd ui
Then, run this inside the nix-shell in one terminal:
npm run start-alice
And this in another terminal inside the nix-shell as well:
npm run start-bob
If a page with "Not found" appears, wait for the UI to finish compilation and refresh the page.
npm run start-holo-alice
Go to the page that opens, and login with email: "alice". Any password will work.
In another terminal:
npm run start-holo-bob
Go to the page that opens, and login with email: "bob". Any password will work.
npm run build
At this point, you will have the UI bundled in ui/dist/
and the happ bundle in dna/workdir/happ
ready to be published.