PH / PHD goMenuBoard Setup
- Preparation
- Install NodeJS V12
- Migrate MongoDB
- Setup MQTT Broker
- Move existing goSignage NodeJS
- Install kds service
- Install goMenuBoard-service
- Update ecosystem.config.js
Preparation
-
Remove task like xxxx.bat
from startup
-
Copy webGo folder
Copy\\10.0.0.18\wo_data\Projects\webGO\goMenuBoard\PizzaHut\goMenuBoard-setup\webGo
to serverC:\
-
Copy PM2 commands
\\10.0.0.18\wo_data\Projects\webGO\PM2\commands
to serverC:\webGo
Install NodeJS V12
-
Close any opened .bat
-
Run C:\webGo\temp_dev_ops\node-v12.20.1-x64.msi
Migrate MongoDB
-
Run C:\webGo\temp_dev_ops\mongodb\RenameMogoDB-to-MongoDB2.2.bat
-
Run C:\webGo\temp_dev_ops\mongodb\mongodb-win32-x86_64-2012plus-4.2.8-signed.msi
must untick Install MongoDB Compass -
Run C:\webGo\temp_dev_ops\mongodb\mongodb-compass-1.28.4-win32-x64.msi
Setup MQTT Broker
-
Run C:\webGo\temp_dev_ops\mqtt\Win64OpenSSL_Light-1_1_0L.exe
-
Run C:\webGo\temp_dev_ops\mqtt\mosquitto-1.6.12-install-windows-x64.exe
Move existing goSignage NodeJS
If the shop subscribes to Legacy Keypad input. Find if there are C:\nodejs
exist and move it to C:\webGo\goSignage
.
Copy C:\webGo\temp_dev_ops\goSignage-nodejs\goSignage.js
and overwrite C:\webGo\goSignage\goSignage.js
Install kds service
If the shop subscribes to the goPick solution.
Setup goMenuBoard with sold-out
-
Run C:\webGo\Webon.Item.Control.Import\init-import-dbf-folders.cmd
as Administrator -
Change to the same shop code in previous step C:\webGo\Webon.Item.Control.Import\Webon.Item.Control.Import.exe.config
-
Copy the latest version of oos-service and goMenuBoard-service to the server C:\webGo\temp_dev_ops
and runinstall.cmd
Must be embedded version
\\10.0.0.18\wo_data\Projects\webGO\Release\oos-service
\\10.0.0.18\wo_data\Projects\webGO\Release\goMenuBoard-service
-
Config oos-service at C:\ras\oos-service\current\config\production-shop.json
{
"shops": [
{
"code": "610",
"name": "610"
}
]
}
{
"shopCode": "639",
"quotaService": {
"socketUrl": "http://localhost:3002"
},
"itemMaster": {
"enable": false
},
"cms": {
"url": "http://10.66.0.5:81/"
}
}
Update ecosystem.config.js
- Either PHD goPick + goMenuBoard Server ecosystem.config.js
- Or PHD keypad + goMenuBoard Server ecosystem.config.js
- After run
RebuildPM2.cmd