Graphical User Interface for Stratis Breeze Wallet.
Clone this repository locally:
git clone https://www.github.com/stratisproject/breeze.git
Navigate to the Breeze UI in a terminal:
Download and install the latest Long Term Support (LTS) version of NodeJS at: https://nodejs.org/.
Install dependencies with npm:
From within Breeze.UI directory run:
There is an issue with
node_modules that are only used in electron on the backend when the application is built by the packager. Please use
npm as dependency manager.
If you want to generate Angular components with Angular-cli, you MUST install
@angular/cli in npm global context.
If you have already installed a previous version of
angular-cli, follow Angular-cli documentation, otherwise execute
sudo npm install -g @angular/cli command.
To build for development
Terminal Window 1
Terminal Window 2
This will compile the Angular code and spawn the Electron process in parallel. After compilation has completed the Electron UI will refresh.
Terminal Window 3, 4
If you want to seperate the build process from the Electron process you can use
npm run start:webpack and
npm run electron:serve.
To build for production
- Using development variables (environments/index.ts) :
npm run electron:dev
- Using production variables (environments/index.prod.ts) :
npm run electron:prod
Your built files are in the /dist folder.
||Execute the app in the brower|
||Builds your application and creates an app consumable on linux system|
||On a Windows OS, builds your application and creates an app consumable in windows 32/64 bit systems|
||On a MAC OS, builds your application and generates a
The application is optimised. Only the files of /dist folder are included in the executable.