Development Flow
October 27, 2016 ยท View on GitHub
Packaging & Releasing rivine-UI
There are some packaging scripts (using electron-packager) in the package.json.
For them to work, you will need to have release archives of the correct version
in the release folder of the rivine package in your GOPATH. To do so, run make xc from the rivine repository followed by npm run release from the rivine-UI
repository.
Building Distributables
Places packaged versions into release/ folder, see the package.json for details.
npm run release
Other Commands
Useful commands for development.
npm run cleanwill remove node_modules, your Sia state kept in lib/Sia, and the configuration settings from config.json.npm run freshwill run clean, install, then start to simulate a fresh install run of the UI.npm run debugwill run the UI with a debug port to aide in inspecting the main process.npm run docwill generate documentation about the UI's classes and functions. It's somewhat messy though.npm run lintwill output style suggestions for the UI's javascript, including for plugins.