1
Fork 0

Document yarn prod

This commit is contained in:
Tobias Berger 2022-02-07 10:44:45 +01:00
parent fcde5083a7
commit e9d70cd16b
Signed by: toby
GPG key ID: 2D05EFAB764D6A88

View file

@ -27,5 +27,9 @@ Any configuration needs to be done in-source, before the [building step](#build)
This will run the compiled JavaScript file with the environment's `node` executable. This will run the compiled JavaScript file with the environment's `node` executable.
Alternatively, manually run `<your node path>/node ./server.node.bundle.js` Alternatively, manually run `<your node path>/node ./server.node.bundle.js`
### Combined script
The combined script `yarn prod` (or equivalent) will run the build script and, if successful, the run script.
#### This package has only been tested on Linux with Node.js v17.3.0 #### This package has only been tested on Linux with Node.js v17.3.0