Skip to content

Commit

Permalink
improve the logging framework (apache#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricJoy2048 authored and zhuchaoling committed Jul 17, 2023
1 parent acb37c9 commit 022f4ba
Show file tree
Hide file tree
Showing 9 changed files with 212 additions and 178 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Apache SeaTunnel (Incubating)
# Apache SeaTunnel

<img src="https://seatunnel.apache.org/image/logo.png" alt="seatunnel logo" height="200px" align="right" />

Expand Down Expand Up @@ -106,38 +106,38 @@ cd incubator-seatunnel-web
sh build.sh code
```

Then you can find the installer package in dir `incubator-seatunnel-web/seatunnel-web-dist/target/apache-seatunnel-web-incubating-${project.version}.tar.gz`.
Then you can find the installer package in dir `incubator-seatunnel-web/seatunnel-web-dist/target/apache-seatunnel-web-${project.version}.tar.gz`.

#### 3.2 Install

Copy the `apache-seatunnel-web-incubating-${project.version}.tar.gz` to your server node and unzip it.
Copy the `apache-seatunnel-web-${project.version}.tar.gz` to your server node and unzip it.

```shell
tar -zxvf apache-seatunnel-web-incubating-${project.version}.tar.gz
tar -zxvf apache-seatunnel-web-${project.version}.tar.gz
```

#### 3.3 Init database

1. Edit `apache-seatunnel-web-incubating-${project.version}/script/seatunnel_server_env.sh` file, Complete the installed database address, port, username, and password. Here is an example:
1. Edit `apache-seatunnel-web-${project.version}/script/seatunnel_server_env.sh` file, Complete the installed database address, port, username, and password. Here is an example:

```
export HOSTNAME="localhost"
export PORT="3306"
export USERNAME="root"
export PASSWORD="123456"
```
2. Run init shell `sh apache-seatunnel-web-incubating-${project.version}/script/init_sql.sh` If there are no errors during operation, it indicates successful initialization.
2. Run init shell `sh apache-seatunnel-web-${project.version}/script/init_sql.sh` If there are no errors during operation, it indicates successful initialization.

#### 3.4 Config application and Run SeaTunnel Web Backend Server

Edit `apache-seatunnel-web-incubating-${project.version}/config/application.yml` Fill in the database connection information and DS interface related information in the file.
Edit `apache-seatunnel-web-${project.version}/config/application.yml` Fill in the database connection information and DS interface related information in the file.

![image](docs/images/application_config.png)

#### 3.5 Start SeaTunnel Web

```shell
cd apache-seatunnel-web-incubating-${project.version}
cd apache-seatunnel-web-${project.version}
sh bin/seatunnel-backend-daemon.sh start
```

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ DOCKER_VERSION=1.0.0-snapshot
code() {
/bin/sh $WORKDIR/mvnw clean package -DskipTests
# mv release zip
mv $WORKDIR/seatunnel-web-dist/target/apache-seatunnel-web-incubating-1.0.0-SNAPSHOT.zip $WORKDIR/
mv $WORKDIR/seatunnel-web-dist/target/apache-seatunnel-web-1.0.0-SNAPSHOT.zip $WORKDIR/
}

# build image
Expand Down
Loading

0 comments on commit 022f4ba

Please sign in to comment.