Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 808 Bytes

dev-setup.md

File metadata and controls

49 lines (33 loc) · 808 Bytes

Developer Setup

TLDR: run nix develop, npm install and npm start or npm test in the root folder of repository.

Requirements

  • Having nix installed.
    • Note that you don't have to execute nix-shell https://holochain.love as we are going to be building on a custom version of holochain.
  • Enter the nix-shell on this folder with:
nix develop

This will take a long time the first time you do it. To verify you have holochain and hc correctly installed:

holochain --version

Should give something like:

holochain 0.1.3

Install

npm install

Running

npm start

Or if you want more than 2 agents:

AGENTS=3 npm run network

Testing

npm test