-
Install dependencies:
npm install
-
Start development environment with hot-reloading:
npm start
This runs both the React development server and Electron concurrently using
start:react
andstart:electron
scripts.
-
Package the application:
npm run package
For Raspberry Pi or low-memory systems:
npm run package:pi
-
Create distributable formats:
npm run make
-
Clean up build artifacts:
npm run clean
- React app source is in the
src
directory - Electron main process file is
main.js
in the root directory - Build output goes to the
build
directory - Build artifacts are stored in the
out
directory - Requires a separate Effects Repository to be available in the users home directory.
npm start
: Runs React and Electron in development mode with hot-reloadingnpm run package
: Builds React and packages the appnpm run package:pi
: Builds React and packages the app for Raspberry Pinpm run clean
: Removes build and packaging artifacts