Skip to content

Zun1k/updateBookkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

updateBookkit

script for updating bookkit pages

Prerequisites

  1. Bookkit must have uu5DataMap in use. As this is only way how update pages. Navigate to Page -> update uu5datamap -> place json:
    {
      "table1": {
        "data": [
          ["Environment","subapp1","subapp2","subapp3"],
          ["dev","1.2.3 (2.2.2021)", "22 (19.08.2021 15:2)", "1.2.3 (2.2.2022)" ],
          ["test","42 (19.08.2021 14:37)","1.2.3 (2.2.2021)","1.2.3 (2.2.2022)"]
        ]
      }
    }
  2. Bookkit page should have table configured with uu string:
      <uu5string/><UuContentKit.Tables.Table rowHeader colHeader=false header="Do not update this page!!!" data="<uu5data/>table1.data"/>

How to run

npm install 
node src/updateBookkit.js bookKitUrl pageCode environment subApplication version pathToPasswordFile

example:

node src/updateBookkit.js https://uuapp.plus4u.net/uu-bookkit-maing01/1111111 123 dev subapp2 1.2.3 /tmp/passwordFile

password file

accessCode1=mysecret1
accessCode2=mysecret2

other scripts

  • script for downloading bookkit binary files README.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published