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
dna
folder - Run the
hc test
command OR Run thehc package
command
To be able to run the UI and have a working version, follow the below steps:
- Navigate to the
ui
folder - Run the
npm install
command
- Open terminal
- From the root directory, run
nix-shell
- Navigate to
ui
folder - 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
dna
folder - Run
hc run
- Open another terminal and go to the
ui
folder - Run
npm run ui:alice
- Open browser window and visit: http://localhost:8080
The front-end stack being used (see package.json):