Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

English
Joget DX provides an automatic integration with Git behind the scenes. All app definitions and components are stored in the filesystem and version controlled using Git, including plugins and resources. Should you wish to integrate with an external Git, Git Configuration allows users to integrate with an external version control using Git.
Chinese

Joget DX在后台提供了与Git的自动集成。所有应用程序定义和组件都存储在文件系统中,并使用Gi​​t进行版本控制,包括插件和资源。如果您希望与外部Git集成,Git Configuration允许用户使用Git与外部版本控制集成。

...

Name

Chinese

名称


Description

Chinese

描述


Remote Git URL

Chinese

远程GIT URL

The URL to the remote Git server (e.g. GitHub, BitBucket, GitLab, internal servers, etc) to push commits to

Chinese

远程Git服务器(例如GitHub,BitBucket,GitLab,内部服务器等)的URL,以将提交推送到

Remote Git Username

Chinese

远程GIT用户名

The username to authenticate to the remote Git server

Chinese

用来验证远程Git服务器的用户名

Remote Git Password

Chinese

远程GIT密码

The password to authenticate to the remote Git server

Chinese

验证到远程Git服务器的密码

Exclude App Configuration (Environment Variables and Plugin Default Properties)

Chinese

排除应用程序配置(环境变量和插件默认属性)

Check this to NOT commit environment variables and plugin default properties. This is meant for configuration values (e.g. settings that might differ in development vs testing vs production)

Chinese

选中此选项可不提交环境变量和插件默认属性。这是用于配置值(例如,在开发,测试和生产中可能会有所不同的设置)

Always Pull from Remote Server

Chinese

总是从远程服务器拉

Check this to allow pull from the remote Git server on every request.

If unchecked, it will only pull before it attempts to push any updates.

Chinese

选中此选项可允许在每次请求时从远程Git服务器拉出。

如果未选中,它将仅在尝试推送任何更新之前拉入。

 

Warning

This greatly slows down the request and should only be used in a development environment.

Chinese

这会大大减慢了请求的速度,应仅在开发环境中使用。

 

Auto Sync DB From Git

Chinese

从Git自动同步数据库

Check this to automatically check for updates in the Git project files and to update the DB definitions accordingly

Chinese

选中此选项可自动检查Git项目文件中的更新并相应地更新数据库定义

...

File / Directory Name

Chinese

文件/目录名称


Description

Chinese

描述


app_src

Directory under wflow containing all the Git projects

Chinese

wflow下的目录,其中包含所有Git项目

appId

Each app has a directory with the app ID as its name e.g. “crm"

Chinese

每个应用都有一个以应用ID为名称的目录,例如“ crm”

app.properties

Configuration file containing the settings as saved in the app Git Configuration UI.

This file applies for all app versions.

Chinese

包含保存在应用程序Git配置UI中的设置的配置文件。

此文件适用于所有应用版本。

appId_version

Under the app directory, each app version has its own directory e.g. version 3 of app ID “crm” would be “crm_3”. 

This is the directory that contains an entire app version including its dependencies e.g. plugins.

Chinese

在应用目录下,每个应用版本都有自己的目录,例如应用ID“ crm”的版本3为“ crm_3”。

该目录包含完整的应用程序版本,包括其依赖项,例如插件。

Info
titleNote

Within this directory, each app version is a separate Git branch.

It might seem then it is being duplicated for each version, but this is required to cater to the possibility of different app versions being worked on concurrently.

Chinese

在此目录中,每个应用程序版本都是一个单独的Git分支。

似乎每个版本都在复制它,但这是必须的,以适应同时处理不同应用程序版本的可能性。

 

appDefinition.xml

XML containing the main app definition, including the process mappings, message and resource records.

Chinese

包含主要应用程序定义的XML,包括流程映射,消息和资源记录。

appConfig.xml

XML containing environment variables and plugin default properties.

This file is meant to keep configuration values (e.g. settings that might differ in development vs testing vs production), that can be omitted from Git commits if required.

Chinese

包含环境变量和插件默认属性的XML。

该文件用于保留配置值(例如,开发,测试和生产中可能会有所不同的设置),如果需要,可以从Git提交这些配置值。

package.xpdl

XPDL definition for the app processes.

Chinese

应用程序流程的XPDL定义。

forms

Chinese

表单

Directory containing form JSON definitions. Each form is saved as 1 JSON file.

Chinese

包含表单JSON定义的目录。每个表单都保存为1个JSON文件。

lists

Chinese

数据列表

Directory containing datalist JSON definitions. Each datalist is saved as 1 JSON file.

Chinese

包含数据列表JSON定义的目录。每个数据列表均保存为1个JSON文件。

userviews

Chinese

用户视图

Directory containing form JSON definitions. Each userview is saved as 1 JSON file.

Chinese

包含表单JSON定义的目录。每个用户视图均保存为1个JSON文件。

resources

Chinese

资源

Directory containing uploaded resource files.

Chinese

包含上载资源文件的目录。

plugins

Chinese

插件

Directory containing custom plugins used.

Chinese

包含使用的自定义插件的目录。

...

If you opt to disable the Git in Joget DX, you can delete the ".\wflow\app_src" folder content to save some hard disk space in your development servers.

Managing version

Synchronizing app builder JSON files with each save request creates a lot of push history. Managing versions has made it possible for tedious tasks to be performed such as tracking, reverting, merging, and clone code from GitHub

One can find the documentation of managing version from the training slides entitled "12-Version Control" which can be obtained from our Joget Academy at https://academy.joget.org/course/jogetdx8trainingslides