Hallym Univ Devops
Name | Version |
---|---|
NodeJS | v12.16.1 |
npm | 6.13.4 |
yarn | 1.22.4 |
OS | Windows 10 v1909 (build 18363.720) |
node js 12.16.x | npm 6.13.x > https://nodejs.org/ko/download/
npm install -g yarn
node -v # node version (12.1x.x)
npm -v # npm version (6.1x.x)
yarn -v # yarn version(1.2x.x) if installed
default web port (http://localhost/ | http://ip-address/)
cd HallymDevops # Change Directory
yarn # install dependencies with package.json
yarn run build # build nextjs
yarn run start80 # run next server on :80
cd HallymDevops # Change Directory
yarn # install dependencies with package.json
yarn run build # build nextjs
# listen :3000
yarn run start
# listen :8080
yarn run start8080
# listen :custom
yarn run start -p port
# run developer mode :3000 compile for each connections
yarn run dev