Repository navigation
Development
Rob Royce edited this page Feb 14, 2022
·
8 revisions
Note: the two main entry points are src/kc_electron and src/kc_angular. Browser extensions can be found in src/kc_extension but are experimental.
- Make sure you have Node, NPM, and Yarn installed. The following versions were used at the time of this writing:
- Node: 16.13.1
- Yarn: 3.1.1 (v2)
- NPM: 8.1.2
- Install node modules using the following command:
yarn install- Build and run the project:
yarn build
yarn start- (OPTIONAL) clean the project and delete build files:
yarn clean- (OPTIONAL) purge dependencies and clear caches:
yarn purgeThis will allow you to refresh the application and see changes in real-time, without having to recompile Electron and Angular code (the watchers auto-compile as files are changed/saved).
- Follow steps 1-2 above
- Build, run, and watch the project:
yarn watch-main-dev &
yarn watch-electron-dev &
yarn start &- Note: changes made to Electron require you to restart the app
You can also choose to run yarn watch-main and yarn watch-electron (without the -dev), but they will take longer to transpile and build, and no source map will be produced.
- Clean and reinstall dependencies, then build the project:
yarn clean
yarn purge
yarn install
yarn build- Create the distributables:
yarn dist-all