BitShares Installable Wallets depend node Node.js, and version 8+ is required.
On Ubuntu and OSX, the easiest way to install Node is to use the Node Version Manager.
To install NVM for Linux/OSX, simply copy paste the following in a terminal:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
nvm install v9
nvm use v9
Once you have Node installed, you can clone the repo:
git clone https://github.com/ioBanker/bitshares-ui.git
Before launching the GUI you will need to compile the packages:
cd bitshares-ui
npm install
npm run install-charting-library
cd node_modules/bitsharesjs
npm install
npm run build-es
cd ../bitsharesjs-ws/
npm install
npm run build
cd ../../
npm run build
We use Electron to provide installable wallets, available for Windows, OSX and Linux Debian platforms such as Ubuntu. First, make sure your local python version is 2.7.x, as a dependency requires this.
On Linux you will need to install the following packages to handle icon generation:
sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils wine-stable wine32 gcc-multilib g++-multilib
For building, each architecture has it’s own script that you can use to build your native binary:
For Linux npm run package-deb
For Windows apt-get install wine32
dpkg --add-architecture i386
npm run package-win
For Mac (Should be compiled using MacOS) npm run package-mac
This will compile the UI with some special modifications for use with Electron, generate installable binaries with Electron and copy the result to the root build/binaries
folder.