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:
cd ./Breeze/Breeze.UI
Download and install the latest Long Term Support (LTS) version of NodeJS at: https://nodejs.org/.
From within Breeze.UI directory run:
npm install
There is an issue with yarn
and 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.
npm start
This will compile the Angular code and spawn the Electron process in parallel.
After compilation has completed the Electron UI will refresh.
If you want to seperate the build process from the Electron process you can use npm run start:webpack
and npm run electron:serve
.
- 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.
Command | Description |
---|---|
npm run start:web |
Execute the app in the brower |
npm run package:linux |
Builds your application and creates an app consumable on linux system |
npm run package:windows |
On a Windows OS, builds your application and creates an app consumable in windows 32/64 bit systems |
npm run package:mac |
On a MAC OS, builds your application and generates a .app file of your application that can be run on Mac |
The application is optimised. Only the files of /dist folder are included in the executable.