Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 1.7 KB

README.md

File metadata and controls

67 lines (43 loc) · 1.7 KB

iamp2p-ui

the user interface for IamP2P app, see iamp2p-hc for backend

UI

Developing the UI is simple. You will need to already be running the Holochain Conductor in order to also develop the UI, since they are now coupled.

Prerequisite have nodejs installed

Open a terminal to this folder

Run the following command

npm install

Now run

npm start

A browser window will open, displaying the UI.

For documentation on the src code, check out the README there

Nix option

Use the nix shell to have npm installed and run npm install and start.

nix-shell --run iamp2p-ui

Building For Release

To set the version number for the release:

  1. update the version.current and version.previous properties of config.nix
  2. update the version property of package.json to the same thing as version.current

Use the nix shell.

nix-shell --run iamp2p-build

Pass a version of iamp2p-hc release to build for that specific one (there is a default fallback)

nix-shell --run 'iamp2p-build 0.3.5'

This will produce a file under dist/iamp2p-ui.zip with all the assets

UI Dev Resources