Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • I information
  • Project information
    • Project information
    • Activity
    • Members
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
Collapse sidebar

webGo Information wiki

  • webGo
  • information
  • Wiki
  • Guides
  • PH PHD goMenuBoard setup

Last edited by Martin Lam Nov 10, 2021
Page history

PH PHD goMenuBoard setup

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
  • Add bookmarks to Chrome

Preparation

  • Remove task like xxxx.bat from startup
    image
  • Copy webGo folder
    \\10.0.0.18\wo_data\Projects\webGO\goMenuBoard\PizzaHut\goMenuBoard-setup\webGo to server C:\
  • Copy PM2 commands
    \\10.0.0.18\wo_data\Projects\webGO\PM2\commands to server C:\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.

  • Run C:\webGo\temp_dev_ops\kds-service\db-preset-configs\load.cmd to pre load some common configurations.

Setup goMenuBoard with sold-out

  • Run C:\webGo\Webon.Item.Control.Import\init-import-dbf-folders.cmd as Administrator
  • Input the shop-code like 639, 218
    image
    If everything go right
    image
  • Change to the same shop code in previous step C:\webGo\Webon.Item.Control.Import\Webon.Item.Control.Import.exe.config
    image
  • Copy the latest version of oos-service and goMenuBoard-service to the server C:\webGo\temp_dev_ops and run install.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
    image
{
  "shops": [
    {
      "code": "610",
      "name": "610"
    }
  ]
}
  • Config goMenuBoard-service at C:\webGo\goMenuBoard-service\current\config\production.json
    image
{
  "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

Config kds-service

Go to http://localhost:3004/keystone, log-in with administrator / 2803-5866

  • Update Shop Name and Shop Code
    edit-shop
  • Update the device after a new device registered
    update-new-registered-device

Add bookmarks to Chrome

  • http://localhost:3010/admin/
  • http://localhost:3002/tester
  • http://localhost:3004/ (if goPick)
  • http://localhost/devicemanage.html (if keypad)
Clone repository
  • goFTP
    • notes
    • released apk version
  • goMenu
    • BYOD flow
    • error code UCR integration
    • experimental installation for byod
    • symlink static files list
    • uat environment
  • goPOS
    • clear test data before new shop opening
    • daily clearance run before all transactions processed tenren
    • daily clearance run before all transactions processed
    • missing handle update payment
  • goPick
    • error code table
  • goQueue
    • Components Version Compatibility
    • Features and Compatibility
    • Released APK Version
View All Pages