To run your own application locally you need to have installed Node.js and Yarn.
Clone the repository with sources.
Install required Node.js packages:
yarn
Build frontend static files:
yarn front:build
If you want to rebuild these files automatically then run:
yarn front:build:watch
Start the electron app.
yarn start
Electron icon will be used while app is running in development mode.
Also a Chrome's development tools console will be opened.
To build the distros for the app just use:
yarn build
It will run the following steps:
electron:icons-gen
— build icons for the appelectron:icons-gen:postrun
— remove unused iconsfront:prebuild
— delete old frontend public filesfront:build
— rebuild public fileselectron:build
— create the app distro
Update the app version in package.json
file and push a new git tag.