the user interface for IamP2P app, see iamp2p-hc for backend
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
Use the nix shell to have npm installed and run npm install and start.
nix-shell --run iamp2p-ui
To set the version number for the release:
- update the
version.current
andversion.previous
properties ofconfig.nix
- update the
version
property ofpackage.json
to the same thing asversion.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