# puzzle_3032_3034_DB_nsmopen3 for Deploy Test use Edge Server ## puzzle_3032_3034_DB_nsmopen3_TEST & DeviceImg_nsmopen3 for Test Deploy <style> .markdown-body { max-width: 80%; } </style> ###### tags: `Report` `IEI_IOT` ###### date:19-04-2022 ## version: | EdgeServerZipName| DEVICE_TAG| EdgeServerAPI_TAG| CONSOLE_TAG |UI_TAG| | --- | --- | --- | --- | --- | | puzzle_3032_3034_DB_nsmopen3_TEST | V1.0.14 | nayana_dev_puzzle3032_3034 | newPuzzle | V2.1.05P2 | |DBZipName |DB_TAG| DEVIMGZipName| |--- | --- | --- | |DB_nsmopen3 | nsmopen3 | 20210111_PUZZLE_V1.0.4.zip | ## use deployProject create zip file step: ``` sudo ssh test@10.10.80.103 sudo su cd /home/test/deployproject/edgeServerDeploy ## bash prepare.sh ZIPFILENAME API_TAG/BRANCH CONSOLE_TAG UI_TAG bash prepare.sh puzzle_3032_3034_DB_nsmopen3_TEST.zip nayana_dev_puzzle3032_3034 newPuzzle V2.1.05P2 ``` ## use deployProject deploy zip file step: ### zip file in backup folder ### deploy IP: cat backup/config/puzzle_3032_3034_DB_nsmopen3_TEST/map.txt ``` ## fileName mapping DQV and TestUse cd /home/test/deployproject/edgeServerDeploy bash autoPass.sh puzzle_3032_3034_DB_nsmopen3_TEST.zip example: bash autoPass.sh puzzle_3032_3034_DB_nsmopen3_TEST.zip DQV-BI-B.js/DQV-FT1-A.js/DQV-FT3-C.js/ bash autoPass.sh puzzle_3032_3034_DB_nsmopen3_TEST.zip DQV-HUB-D.js ``` ## NEW METHOD ## Deploy DB ``` sudo ssh test@10.10.80.103 sudo su cd /home/test/deployproject/dbDeploy bash prepare.sh DB_nsmopen3.zip nsmopen3 bash pass.sh DB_nsmopen3.zip 10.10.81.251 10.10.230.251 27018 bash pass.sh DB_nsmopen3.zip 10.10.81.250 127.0.0.1 27017 bash pass.sh DB_nsmopen3.zip 10.10.80.103 127.0.0.1 27017 # you can see the version in DB dbversion collection is tag_commitID nsmopen3_xxxxxxx ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up