You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2023/11/29 10:03:21 UTC

(incubator-answer-website) branch main updated: docs(image): rename all docker image to apache/answer (#127)

This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 7e345b9d docs(image): rename all docker image to apache/answer (#127)
7e345b9d is described below

commit 7e345b9d32a63da63f7471911e7c78c3d22c9656
Author: LinkinStars <li...@foxmail.com>
AuthorDate: Wed Nov 29 18:03:16 2023 +0800

    docs(image): rename all docker image to apache/answer (#127)
---
 docs/getting-started/installation.md                                | 6 +++---
 docs/getting-started/upgrade.md                                     | 4 ++--
 .../current/getting-started/installation.md                         | 6 +++---
 .../current/getting-started/upgrade.md                              | 4 ++--
 src/components/HomePageHeader/index.tsx                             | 2 +-
 src/pages/plugins.tsx                                               | 2 +-
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md
index a3ab697b..8c63075f 100644
--- a/docs/getting-started/installation.md
+++ b/docs/getting-started/installation.md
@@ -23,7 +23,7 @@ If you are using [Docker Desktop](https://www.docker.com/products/docker-desktop
 :::
 
 ```bash
-curl -fsSL https://raw.githubusercontent.com/answerdev/answer/main/docker-compose.yaml | docker compose -p answer -f - up
+curl -fsSL https://raw.githubusercontent.com/apache/incubator-answer/main/docker-compose.yaml | docker compose -p answer -f - up
 ```
 
 The default port for Answer is `9080`. You can access it at http://localhost:9080.
@@ -31,10 +31,10 @@ The default port for Answer is `9080`. You can access it at http://localhost:908
   </TabItem>
   <TabItem value="docker" label="Docker">
 
-You can find all the available Docker images on [Docker Hub](https://hub.docker.com/r/answerdev/answer/tags). The `latest` tag refers to the latest stable version of Answer.
+You can find all the available Docker images on [Docker Hub](https://hub.docker.com/r/apache/answer/tags). The `latest` tag refers to the latest stable version of Answer.
 
 ```bash
-docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
+docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:latest
 ```
 
 After running the command, heading to http://localhost:9080/install to continue installation.
diff --git a/docs/getting-started/upgrade.md b/docs/getting-started/upgrade.md
index 4d15e3c6..71a1966b 100644
--- a/docs/getting-started/upgrade.md
+++ b/docs/getting-started/upgrade.md
@@ -32,10 +32,10 @@ docker-compose up -d
 If you are using docker to install answer, the upgrade steps are as follows.
 
 ```bash
-docker pull answerdev/answer:latest
+docker pull apache/answer:latest
 docker stop answer
 docker rm answer
-docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
+docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:latest
 ```
 
   </TabItem>
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installation.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installation.md
index c617d4fb..a828342a 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installation.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installation.md
@@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem';
 :::
 
 ```bash
-curl -fsSL https://raw.githubusercontent.com/answerdev/answer/main/docker-compose.yaml | docker compose -p answer -f - up
+curl -fsSL https://raw.githubusercontent.com/apache/incubator-answer/main/docker-compose.yaml | docker compose -p answer -f - up
 ```
 
 Answer 的默认端口为 `9080`。你可以在 http://localhost:9080 访问它。
@@ -29,10 +29,10 @@ Answer 的默认端口为 `9080`。你可以在 http://localhost:9080 访问它
   </TabItem>
   <TabItem value="docker" label="Docker">
 
-你可以在 [Docker Hub](https://hub.docker.com/r/answerdev/answer/tags) 上找到所有可用的 Docker 镜像。`latest` 标签指的是 Answer 的最新稳定版本。
+你可以在 [Docker Hub](https://hub.docker.com/r/apache/answer/tags) 上找到所有可用的 Docker 镜像。`latest` 标签指的是 Answer 的最新稳定版本。
 
 ```bash
-docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
+docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:latest
 ```
 
 运行该命令后,请前往 http://localhost:9080/install 继续安装流程。
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/upgrade.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/upgrade.md
index 49a1a6b8..d3582507 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/upgrade.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/upgrade.md
@@ -28,10 +28,10 @@ docker-compose up -d
 如果你使用 Docker 安装 Answer,升级步骤如下。
 
 ```bash
-docker pull answerdev/answer:latest
+docker pull apache/answer:latest
 docker stop answer
 docker rm answer
-docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest
+docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:latest
 ```
 
   </TabItem>
diff --git a/src/components/HomePageHeader/index.tsx b/src/components/HomePageHeader/index.tsx
index 8bd39ddb..9e199357 100644
--- a/src/components/HomePageHeader/index.tsx
+++ b/src/components/HomePageHeader/index.tsx
@@ -40,7 +40,7 @@ const HomeHead: FC = () => {
 
 
   useEffect(() => {
-    fetch('https://img.shields.io/github/stars/answerdev/answer')
+    fetch('https://img.shields.io/github/stars/apache/incubator-answer')
       .then((response) => response.text())
       .then((data) => {
         const num = data.match(/<text .*>(.*?)<\/text>/)[1];
diff --git a/src/pages/plugins.tsx b/src/pages/plugins.tsx
index 6830702a..e03ea5a8 100644
--- a/src/pages/plugins.tsx
+++ b/src/pages/plugins.tsx
@@ -9,7 +9,7 @@ import HeaderSlogan from '../components/HeaderSlogan';
 export default function Plugins(): JSX.Element {
   const [list, setList] = useState([]);
   useEffect(() => {
-    fetch('https://raw.githubusercontent.com/answerdev/plugins/main/plugins_desc.json').then(res => res.json()).then(data => {
+    fetch('https://raw.githubusercontent.com/apache/incubator-answer-plugins/main/plugins_desc.json').then(res => res.json()).then(data => {
       setList(data);
     }).catch(err => {
       console.error('featch plugins list error', err);