demo.mp4
- Run npm install.
...
npm i
- Run npm nologin.
...
npm nologin
If backend infrastructure is live and hosted:
- Run npm start
...
npm start
- Run npm install.
...
npm i
- Run npm run build
...
npm run build
- (Optional) Run npm run run-build
...
npm run run-build
Run the npm start command.
...npm start
The react webbuild server will run and then electron will start. This
will allow live changes to the GUI to be propogated instantly to the
window.
Run the npm debug command.
...npm debug
The react app will be built into static files and then run from those files.
Run the npm release command.
...npm release
The react app will be built into a pre-package configuration
Run the npm publish command.
...npm package
A release version of the application will be built in ./bin/build/release, which will then be used to create a publishable build in ./bin/build/ for the default platform or a platform specified.
Command | Description |
---|---|
npm start | Starts react webbuild server and runs electron |
npm debug | Builds react application and runs electron using the static files |
Electron is used to provide the GUI for the application.
The entrypoint for the application.