LeaP is a Peer to Peer education system based on Holochain. Developed during the first community run Holochain DevCamp #6.
This repository is used as a learning resource for the students learning how to program Holochain hApps on the Rust lang.
Design: https://hackmd.io/_Uvrwr1HSNmfsWHqymcgvA
To be able to run the tests and package the DNA
- From the root directory, run
nix-shell - Navigate to the
dnafolder - Run the
hc testcommand OR Run thehc packagecommand
To be able to run the UI and have a working version, follow the below steps:
- Navigate to the
uifolder - Run the
npm installcommand
- Open terminal
- From the root directory, run
nix-shell - Navigate to
uifolder - Run
npm run demo - Open browser window and visit: http://localhost:8080
- Open second browser window and visit: http://localhost:8081
- Open terminal
- From the root directory, run
nix-shell - Navigate to
dnafolder - Run
hc run - Open another terminal and go to the
uifolder - Run
npm run ui:alice - Open browser window and visit: http://localhost:8080
The front-end stack being used (see package.json):