This is the user interface for Sia, it is a desktop application based off the electron framework. The ambition behind this project is to facilitate easy programmatic interaction between users and the Sia network.
- golang 1.4+ (with a proper GOPATH environment variable)
- node & npm (packaged together)
npm install
npm start
Places packaged versions into build/ folder, see the package.json for details.
npm run build
[CAUTION] Removes node_modules, your Sia state kept in app/dependencies, and the configuration settings from config.json.
npm run clean
For other command scripts, look into the package.json file. However here are some useful ones.
npm run fresh
will run clean, install, then start to simulate a fresh install run of the UI.npm run debug
will run the UI with a debug port to aide in inspecting the main process.npm run doc
will generate documentation about the UI's classes and functions. It's somewhat messy though.npm run lint
will output style suggestions for the UI's javascript, including for plugins.