feat(btob): Add BtoB development server startup script

- Adds a new `start:btob` script to `package.json` for launching the Next.js application on port 5060 for the BtoB environment.
- Introduces `startscript-btob.js` as a convenience executable to run the `start:btob` command.
This commit is contained in:
sangwook yoo 2026-05-27 17:05:11 +09:00
parent 6a99b6de4a
commit 379216a78a
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@
"start:cluster1": "env-cmd -f .env.production next start -p 5000", "start:cluster1": "env-cmd -f .env.production next start -p 5000",
"start:cluster2": "env-cmd -f .env.production next start -p 5001", "start:cluster2": "env-cmd -f .env.production next start -p 5001",
"start:dev": "env-cmd -f .env.development next start -p 5010", "start:dev": "env-cmd -f .env.development next start -p 5010",
"start:btob": "env-cmd -f .env.development next start -p 5060",
"lint": "next lint", "lint": "next lint",
"serve": "node server.js" "serve": "node server.js"
}, },

2
startscript-btob.js Normal file
View File

@ -0,0 +1,2 @@
var exec = require('child_process').exec
exec('yarn start:btob', { windowsHide: true })