Skip to content

Commit

Permalink
commit for v3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
baisui1981 committed Oct 18, 2023
1 parent af59ac2 commit b166fde
Show file tree
Hide file tree
Showing 28 changed files with 768 additions and 32 deletions.
63 changes: 54 additions & 9 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 21 additions & 11 deletions docs/develop/compile-running.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 编译&运行
title: TIS编译&运行
date: 2020-03-22
type: book
weight : 10
Expand All @@ -18,15 +18,15 @@ weight : 10

一个完整的TIS应用,由以下三个子工程构成:

1. TIS主干逻辑 [https://github.com/qlangtech/tis](https://github.com/qlangtech/tis)
1. TIS主干逻辑 [https://github.com/datavane/tis](https://github.com/datavane/tis)
2. TIS插件 [https://github.com/qlangtech/plugins](https://github.com/qlangtech/plugins)
3. 前端逻辑 [https://github.com/qlangtech/ng-tis](https://github.com/qlangtech/ng-tis)

分别将他们clone到本地目录中

``` bash

git clone [email protected]:qlangtech/tis.git
git clone [email protected]:datavane/tis.git

git clone [email protected]:qlangtech/plugins.git

Expand All @@ -44,23 +44,23 @@ weight : 10

TIS使用的Maven推荐使用**v3.8.1** 版本
-->
#### 编译 qlangtech/tis 项目
#### 编译 datavane/tis 项目

```shell script
cd tis
mvn clean install -Dmaven.test.skip=true
mvn clean install -Dmaven.test.skip=true -Ptis-repo
```

:::caution
由于qlangtech/plugins 项目需要依赖 qlangtech/tis 中的artifact,因此以上Maven执行命令中需要使用**install**
由于qlangtech/plugins 项目需要依赖 datavane/tis 中的artifact,因此以上Maven执行命令中需要使用**install**
:::


#### 编译 qlangtech/plugins 项目

```shell script
cd plugins
mvn clean package -Dmaven.test.skip=true -Dappname=all
mvn clean package -Dmaven.test.skip=true -Dappname=all -Ptis-repo
```

:::caution
Expand Down Expand Up @@ -116,7 +116,8 @@ npm uninstall -g @angular/cli
具体执行命令为:

```shell script
for f in `find ./plugins -name '*.tpi' -print`
cd 'path of qlangtech/plugins项目'
for f in `find ./ -name '*.tpi' -print`
do
echo " ln -s $f "
ln -s $f /opt/data/tis/libs/plugins/${f##*/}
Expand All @@ -126,7 +127,11 @@ done ;
### 启动TIS Console

1. cd tis/tis-console/src/test/java/
2. 运行 `StartTISWeb` 单元测试
2. 创建初始化token文件:
```shell
touch /opt/data/tis/system_initialized_token
```
3. 运行 `StartTISWeb` 单元测试

```shell script
mvn compile test -Dtest=StartTISWeb
Expand All @@ -142,11 +147,16 @@ done ;
### 启动TIS Web

1. cd ng-tis
2. 运行

2. 编译:
```shell
npm run ng:serve-aot
```
3. 运行
```shell
npm run ng:serve-jit --scripts-prepend-node-path=auto
```
4. 打开 web 入口:`http://localhost:4200/`


### 启动Assemble Web

Expand Down
Binary file added docs/develop/img/add-new-plugin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/develop/img/description.md.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/develop/img/plugin-mysql-datasource.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/develop/img/plugin-verify-validateAll.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/develop/img/plugins-arch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/develop/img/plugins-relation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/develop/img/plugins-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/develop/img/properties-desc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b166fde

Please sign in to comment.