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