Skip to content

How to build

JJ edited this page Aug 7, 2024 · 3 revisions

[Prerequisites]

  1. Install Node.js

  2. Install Nvm or N for managing multiple node versions

  • For Mac: sudo npm install --global n
  • For Win: Install it from https://github.com/coreybutler/nvm-windows/releases
  1. Install Node 16.20.2 version by NVM or N
  • For Mac:

sudo n 16.20.2

sudo n => Select 16.20.2

  • For Win:

nvm install 16.20.2

nvm use 16.20.2

[How to build]

  1. Download source code

git clone https://github.com/JeongJun-Lee/entry-offline.git

cd entry-offline

  1. Checkout the 2.1.x version branch

git checkout 2.1.x_uz

  1. Install build-tools (yarn, node-gyp)
  • For Mac: brew install yarn

  • For Win: npm install -g yarn

  • For Mac: Xcode Command Line Tools

  • For Win(With admin privilege): choco install python visualstudio2022-workload-vctools -y

For more information, refer to https://github.com/nodejs/node-gyp#installation

  1. Install packages for build

yarn install

  1. Do dev-build

yarn webpack:dev

  1. Start the built App

yarn start

If there is a Module loading error, Rebuild the module

yarn rebuild

For your detail Dev information, refer this Doc

Clone this wiki locally