Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 932 Bytes

Build.md

File metadata and controls

50 lines (34 loc) · 932 Bytes

Build process

Requirements

  • git
  • nodejs 10.x
  • yarn
  • npm

Notes

Devuan

yarn is known as yarnpkg.

Do not use yarn install, use yarn install --frozen-lockfile instead

Unless you need to add or update dependency, do NOT use yarn install.

Building lw.comm-server

> git clone -b windows-build https://github.com/trombik/lw.comm-server.git
> cd lw.comm-server
> yarn --frozen-lockfile
> yarn prep
> yarn build

Updating the branch

When you update the branch and rebuild the code, do the followings:

> git pull
> yarn --frozen-lockfile
> yarn build

Running lw.comm-server

> nodejs ./server.js

What yarn build does

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.