How to run Nuclear in development mode and start coding
Ensure that you have installed the prerequisites:
- Node.js LTS (16)
- npm v8
- Your platform's build tools required to recompile native dependencies
- Linux is recommended (but not required) for development
Start by cloning the repository:
Go to the project root and install the dependencies:
$ cd nuclear
$ npm install
This will install the dependencies in the project root, and automatically link the local packages with lerna.
Next, you can run the tests:
$ npm test
Or start the program in development mode:
$ npm start
To build a production release, run this:
$ GITHASH=<version> npm run build:<platform>
<version>with a string that will be added to the filenames of the built packages, e.g.
0.6.13or a short githash:
f4b6771. This only affects the filenames, but needs to be set.
<platform>with the name of your platform:
The binaries will be created in