- git
- nodejs 10.x
- yarn
- npm
yarn
is known as yarnpkg
.
Unless you need to add or update dependency, do NOT use yarn install
.
> git clone -b windows-build https://github.com/trombik/lw.comm-server.git
> cd lw.comm-server
> yarn --frozen-lockfile
> yarn prep
> yarn build
When you update the branch and rebuild the code, do the followings:
> git pull
> yarn --frozen-lockfile
> yarn build
> nodejs ./server.js
The repository has a sub-module, LaserWeb4
. It builds LaserWeb4
by running
npm run bundle-dev
in the sub-module directory, which creates an asset. The
asset is copied to app
directory. See scripts
in package.json
.