Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Preparing the files - Let's say you have these folders from your backup

    • wflow/app_src/supportTicket/supportTicket_1
    • wflow/app_src/supportTicket/supportTicket_2
    • wflow/app_src/supportTicket/supportTicket_3

    In each version folder, perform a git branch . In each folder version (n) folder, it should contain the next version (n+1).

    In the example below, we can see that folder version 1 contains version 2 when we execute git branch command.

    Code Block
    C:\Joget-DX7-Enterprise\wflow\app_src\supportTicket\supportTicket_1>git branch
      help
      master
    * supportTicket_1
      supportTicket_2

    For example, in supportTicket_2, it does not contain version 3 somehow. 

    Code Block
    C:\Joget-DX7-Enterprise\wflow\app_src\supportTicket\supportTicket_2>git branch
      master
    * supportTicket_2

    We can run git branch supportTicket_3 to create the branch.

    Code Block
    C:\Joget-DX7-Enterprise\wflow\app_src\supportTicket\supportTicket_2>git branch supportTicket_3
    
    C:\Joget-DX7-Enterprise\wflow\app_src\supportTicket\supportTicket_2>git branch
      master
    * supportTicket_2
      supportTicket_3

    Copy them into your working wflow folder.

  2. In Joget, create a new app with matching app ID, "supportTicket". You are now on version 1 that is currently empty.
  3. Go to Version, GIT Configurations, check "Auto Sync DB From Git" and submit.
  4. Click Forms and UI to refresh the page. This will trigger Joget to perform GIT Sync. Your Joget will now sync from GIT into Joget DB for app version 1.
    You should now see all the forms/lists/userviews/process recovered.
  5. Click Version, you should see the next version shows up, version 2. Choose the version and click view. It will perform the same sync from GIT too.
    Remember, folder version n must contain n+1 branch for this to work. Use "git branch appId_n+1" command to create the branch if needed to as highlighted in step 1 earlier.

  6. Repeat step 5 for the next version until all versions sync up.