Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 1006 Bytes

development.md

File metadata and controls

49 lines (27 loc) · 1006 Bytes

Development

To run your own application locally you need to have installed Node.js and Yarn.

Prepare

Clone the repository with sources.

Install required Node.js packages:

yarn

Build and watch frontend files

Build frontend static files:

yarn front:build

If you want to rebuild these files automatically then run:

yarn front:build:watch

Run the app

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.

Build the app

To build the distros for the app just use:

yarn build

It will run the following steps:

  • electron:icons-gen — build icons for the app
  • electron:icons-gen:postrun — remove unused icons
  • front:prebuild — delete old frontend public files
  • front:build — rebuild public files
  • electron:build — create the app distro

Release a new version

Update the app version in package.json file and push a new git tag.