This code now lives at https://github.com/h-be/acorn in the web folder.
the user interface for Acorn app, see acorn-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 acorn-uiTo set the version number for the release:
- update the
version.currentandversion.previousproperties ofconfig.nix - update the
versionproperty ofpackage.jsonto the same thing asversion.current
Use the nix shell.
nix-shell --run acorn-buildPass a version of acorn-hc release to build for that specific one (there is a default fallback)
nix-shell --run 'acorn-build 0.3.5'This will produce a file under dist/acorn-ui.zip with all the assets