-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af59ac2
commit b166fde
Showing
28 changed files
with
768 additions
and
32 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 | ||
|
||
|
@@ -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 | ||
|
@@ -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##*/} | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
||
|
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.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.