forked from apache/inlong
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[INLONG-1934] update the image of the hive example after the bid chan…
…ged (apache#220) Co-authored-by: dockerzhang <dockerzhang@tencent.com>
- Loading branch information
1 parent
410e152
commit 8ec2130
Showing
25 changed files
with
145 additions
and
145 deletions.
There are no files selected for viewing
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
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
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
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
title: Overview | ||
sidebar_position: 1 | ||
--- | ||
|
||
This is a website console for us to use the [Apache InLong](https://github.com/apache/incubator-inlong). | ||
|
||
## Guide For Developer | ||
You should check that `nodejs >= 12.0` is installed. | ||
|
||
In the project, you can run some built-in commands: | ||
|
||
If `node_modules` is not installed, you should first run `npm install` or `yarn install`. | ||
|
||
Use `npm run dev` or `yarn dev` to run the application in development mode. | ||
|
||
If the server runs successfully, the browser will open [http://localhost:8080](http://localhost:8080) to view in the browser. | ||
|
||
If you edit, the page will reload. | ||
You will also see any lint errors in the console. | ||
|
||
The start of the web server depends on the back-end server `manger api` interface. | ||
|
||
You should start the backend server first, and then set the variable `target` in `/inlong-website/src/setupProxy.js` to the address of the api service. | ||
|
||
### Test | ||
|
||
Run `npm test` or `yarn test` | ||
|
||
Start the test runner in interactive observation mode. | ||
For more information, see the section on [Running Tests](https://create-react-app.dev/docs/running-tests/). | ||
|
||
### Build | ||
|
||
First, make sure that the project has run `npm install` or `yarn install` to install `node_modules`. | ||
|
||
Run `npm run build` or `yarn build`. | ||
|
||
Build the application for production into the build folder. | ||
Better page performance can be obtained in the constructed production mode. | ||
|
||
After the build, the code is compressed, and the file name includes the hash value. | ||
Your application is ready to be deployed! | ||
|
||
For details, see the section on [deployment](https://create-react-app.dev/docs/deployment/). | ||
|
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,55 +1,20 @@ | ||
--- | ||
title: Deployment | ||
sidebar_position: 2 | ||
--- | ||
|
||
## 1 About WebSite | ||
This is a website console for us to use the [Apache InLong incubator](https://github.com/apache/incubator-inlong). | ||
|
||
## 2 Build | ||
## Prepare Docker Image | ||
pull image from central hub: | ||
``` | ||
docker pull inlong/website:latest | ||
``` | ||
or build image from source: | ||
``` | ||
mvn package -DskipTests -Pdocker -pl inlong-website | ||
``` | ||
|
||
## 3 Run | ||
## Run | ||
``` | ||
# MANAGER_API_ADDRESS must be replaced by inlong-manager-web address | ||
docker run -d --name website -e MANAGER_API_ADDRESS=127.0.0.1:8083 -p 80:80 inlong/website | ||
``` | ||
|
||
## 4 Guide For Developer | ||
You should check that `nodejs >= 12.0` is installed. | ||
|
||
In the project, you can run some built-in commands: | ||
|
||
If `node_modules` is not installed, you should first run `npm install` or `yarn install`. | ||
|
||
Use `npm run dev` or `yarn dev` to run the application in development mode. | ||
|
||
If the server runs successfully, the browser will open [http://localhost:8080](http://localhost:8080) to view in the browser. | ||
|
||
If you edit, the page will reload. | ||
You will also see any lint errors in the console. | ||
|
||
The start of the web server depends on the back-end server `manger api` interface. | ||
|
||
You should start the backend server first, and then set the variable `target` in `/inlong-website/src/setupProxy.js` to the address of the api service. | ||
|
||
### 4.1 Test | ||
|
||
Run `npm test` or `yarn test` | ||
|
||
Start the test runner in interactive observation mode. | ||
For more information, see the section on [Running Tests](https://create-react-app.dev/docs/running-tests/). | ||
|
||
### 4.2 Build | ||
|
||
First, make sure that the project has run `npm install` or `yarn install` to install `node_modules`. | ||
|
||
Run `npm run build` or `yarn build`. | ||
|
||
Build the application for production into the build folder. | ||
Better page performance can be obtained in the constructed production mode. | ||
|
||
After the build, the code is compressed, and the file name includes the hash value. | ||
Your application is ready to be deployed! | ||
|
||
For details, see the section on [deployment](https://create-react-app.dev/docs/deployment/). | ||
``` |
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
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.
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
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
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
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
Oops, something went wrong.