Skip to content

Commit

Permalink
[doc] Refresh the quick-start script link (#4819)
Browse files Browse the repository at this point in the history
Co-authored-by: wxq <Anilople@outlook.com>
  • Loading branch information
shoothzj and Anilople authored Mar 29, 2023
1 parent 3ef13f8 commit 4acee42
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions docs/en/deployment/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ We have prepared a Quick Start installation package, you just need to download i
The installation package is 50M, if you can't access github, you can download it from Baidu.com.

1. Download from GitHub
* Checkout or download the [apollo-build-scripts project](https://github.com/nobodyiam/apollo-build-scripts)
* Checkout or download the [apollo-build-scripts project](https://github.com/apolloconfig/apollo-quick-start)
* **Since the Quick Start project is relatively large, it is placed in a different repository, so please note the project address**
* https://github.com/nobodyiam/apollo-build-scripts
* https://github.com/apolloconfig/apollo-quick-start
2. Download from Baidu.com
* Downloaded via [weblink](https://pan.baidu.com/s/1Ieelw6y3adECgktO0ea0Gg), extraction code: 9wwe
* After downloading to local, unzip apollo-quick-start.zip locally
Expand All @@ -73,7 +73,7 @@ Apollo server side needs a total of two databases: `ApolloPortalDB` and `ApolloC
> Note: If you have already created Apollo database locally, please take care to backup the data. The sql file we prepared will clear the Apollo related tables.
### 2.1.1 Creating ApolloPortalDB
Just import [sql/apolloportaldb.sql](https://github.com/nobodyiam/apollo-build-scripts/blob/master/sql/apolloportaldb.sql) through various MySQL clients.
Just import [sql/apolloportaldb.sql](https://github.com/apolloconfig/apollo-quick-start/blob/master/sql/apolloportaldb.sql) through various MySQL clients.

The following is an example of a native MySQL client.
```sql
Expand All @@ -90,7 +90,7 @@ select `Id`, `AppId`, `Name` from ApolloPortalDB.App;
| 1 | SampleApp | Sample App |

### 2.1.2 Creating ApolloConfigDB
You can import [sql/apolloconfigdb.sql](https://github.com/nobodyiam/apollo-build-scripts/blob/master/sql/apolloconfigdb.sql) through various MySQL clients.
You can import [sql/apolloconfigdb.sql](https://github.com/apolloconfig/apollo-quick-start/blob/master/sql/apolloconfigdb.sql) through various MySQL clients.

The following is an example of a native MySQL client.
```sql
Expand All @@ -106,7 +106,7 @@ select `NamespaceId`, `Key`, `Value`, `Comment` from ApolloConfigDB.Item;
| 1 | timeout | 100 | sample timeout configuration |

## 2.2 Configuring Database Connection Information
The Apollo server needs to know how to connect to the database you created earlier, so you need to edit [demo.sh](https://github.com/nobodyiam/apollo-build-scripts/blob/master/demo.sh) and modify ApolloPortalDB and ApolloConfigDB related database connection string information.
The Apollo server needs to know how to connect to the database you created earlier, so you need to edit [demo.sh](https://github.com/apolloconfig/apollo-quick-start/blob/master/demo.sh) and modify ApolloPortalDB and ApolloConfigDB related database connection string information.

> Note: The filled in user needs to have read and write access to ApolloPortalDB and ApolloConfigDB data.
Expand Down Expand Up @@ -176,7 +176,7 @@ It should be noted that Quick Start does not support adding environments, but on

> Quick Start integrates with [Spring Security simple authentication](en/development/portal-how-to-implement-user-login-function?id=implementation-1-simple-authentication-using-spring-security-provided-by-apollo), for more information you can refer to [Portal implementing user login function](en/development/portal-how-to-implement-user-login-function)
<img src="https://github.com/nobodyiam/apollo-build-scripts/raw/master/images/apollo-login.png" alt="login" width="640px">
<img src="https://github.com/apolloconfig/apollo-quick-start/raw/master/images/apollo-login.png" alt="login" width="640px">

2. Enter username apollo and password admin and log in

Expand Down
12 changes: 6 additions & 6 deletions docs/zh/deployment/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ SHOW VARIABLES WHERE Variable_name = 'version';
安装包共50M,如果访问github网速不给力的话,可以从百度网盘下载。

1. 从GitHub下载
* checkout或下载[apollo-build-scripts项目](https://github.com/nobodyiam/apollo-build-scripts)
* checkout或下载[apollo-build-scripts项目](https://github.com/apolloconfig/apollo-quick-start)
* **由于Quick Start项目比较大,所以放在了另外的repository,请注意项目地址**
* https://github.com/nobodyiam/apollo-build-scripts
* https://github.com/apolloconfig/apollo-quick-start
2. 从百度网盘下载
* 通过[网盘链接](https://pan.baidu.com/s/1Ieelw6y3adECgktO0ea0Gg)下载,提取码: 9wwe
* 下载到本地后,在本地解压apollo-quick-start.zip
Expand All @@ -73,7 +73,7 @@ Apollo服务端共需要两个数据库:`ApolloPortalDB`和`ApolloConfigDB`,
> 注意:如果你本地已经创建过Apollo数据库,请注意备份数据。我们准备的sql文件会清空Apollo相关的表。
### 2.1.1 创建ApolloPortalDB
通过各种MySQL客户端导入[sql/apolloportaldb.sql](https://github.com/nobodyiam/apollo-build-scripts/blob/master/sql/apolloportaldb.sql)即可。
通过各种MySQL客户端导入[sql/apolloportaldb.sql](https://github.com/apolloconfig/apollo-quick-start/blob/master/sql/apolloportaldb.sql)即可。

下面以MySQL原生客户端为例:
```sql
Expand All @@ -90,7 +90,7 @@ select `Id`, `AppId`, `Name` from ApolloPortalDB.App;
| 1 | SampleApp | Sample App |

### 2.1.2 创建ApolloConfigDB
通过各种MySQL客户端导入[sql/apolloconfigdb.sql](https://github.com/nobodyiam/apollo-build-scripts/blob/master/sql/apolloconfigdb.sql)即可。
通过各种MySQL客户端导入[sql/apolloconfigdb.sql](https://github.com/apolloconfig/apollo-quick-start/blob/master/sql/apolloconfigdb.sql)即可。

下面以MySQL原生客户端为例:
```sql
Expand All @@ -106,7 +106,7 @@ select `NamespaceId`, `Key`, `Value`, `Comment` from ApolloConfigDB.Item;
| 1 | timeout | 100 | sample timeout配置 |

## 2.2 配置数据库连接信息
Apollo服务端需要知道如何连接到你前面创建的数据库,所以需要编辑[demo.sh](https://github.com/nobodyiam/apollo-build-scripts/blob/master/demo.sh),修改ApolloPortalDB和ApolloConfigDB相关的数据库连接串信息。
Apollo服务端需要知道如何连接到你前面创建的数据库,所以需要编辑[demo.sh](https://github.com/apolloconfig/apollo-quick-start/blob/master/demo.sh),修改ApolloPortalDB和ApolloConfigDB相关的数据库连接串信息。

> 注意:填入的用户需要具备对ApolloPortalDB和ApolloConfigDB数据的读写权限。
Expand Down Expand Up @@ -172,7 +172,7 @@ Quick Start只是用来帮助大家快速体验Apollo项目,具体实际使用

> Quick Start集成了[Spring Security简单认证](zh/development/portal-how-to-implement-user-login-function#实现方式一:使用apollo提供的spring-security简单认证),更多信息可以参考[Portal 实现用户登录功能](zh/development/portal-how-to-implement-user-login-function)
<img src="https://github.com/nobodyiam/apollo-build-scripts/raw/master/images/apollo-login.png" alt="登录" width="640px">
<img src="https://github.com/apolloconfig/apollo-quick-start/raw/master/images/apollo-login.png" alt="登录" width="640px">

2. 输入用户名apollo,密码admin后登录

Expand Down

0 comments on commit 4acee42

Please sign in to comment.