Running hREA Backend
These are instructions for doing set up, and running, of a holochain runtime on your device containing the hREA hApp, for the sake of a development environment.
Before trying to develop a user interface or service on top of hREA, you need to be running the hREA backend, within a holochain runtime.
Download the hrea_suite.happ
file from this hREA release.
You need to install some packages to your command line, which you can do manually, or via the nix-shell dev environment manager. There are instructions for either way that you choose right below this, just click to expand the section you would like to follow.
Set up a holochain development "sandbox". A temporary directory on your file system that will store all your keys and data for the hREA happ that you are about to install and run. network quic
is there to instruct holochain
to use a specific kind of networking, known as quic
.
Install the hREA hApp to your holochain sandbox. Make sure you use the right path to wherever on your filesystem you have hrea_suite.happ
file that you downloaded.
Start your holochain "sandbox" runtime, attaching ports for admin level websocket server on port 4001 and for an app level websocket server on port 4000.
You can safely stop and restart this particular process, and don't have to rerun the other steps. This is the process that you must have running in order to develop a user interface or service with an hREA backend.
Last updated