Skip to content

Commit

Permalink
Blog (#223)
Browse files Browse the repository at this point in the history
Fix the typo in a blog.
  • Loading branch information
PrimmaAnna authored Jul 25, 2024
1 parent 029d87c commit 1565502
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
12 changes: 2 additions & 10 deletions blog/2024-07-02-how-to-package-and-deploy-answer-plugins/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ $ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ./answer build --with github.com/apache/
$ ANSWER_MODULE=github.com/apache/[email protected] ./answer build --with github.com/apache/incubator-answer-plugins/connector-github
```

可以根据文档上的提示来选择所需要的插件,打包插件的会重新构建前端静态资源,插件可能有特有的依赖项,所以这里会重新执行依赖安装跟构建。构建成功后会在更目录生成 `new_answer` 二进制文件。

You can choose the required plugins according to the instructions in the documentation. Compiling plugins will rebuild the front-end static resources. Plugins may have special dependencies, so dependency installation and compilation will be performed again here. After successful compilation, the `new_answer` binary file will be generated in the dist directory.


Expand All @@ -155,9 +153,7 @@ Verify plugin installation command: `./new_answer plugin`.
![confirm result](2.1.4.webp)


#### 2.2.Build Single Plugin Using Local Plugin Code

如果需要调整插件的一些信息或者使用自己实现的私有插件来构建,需要使用 `with local plugins` 命令来构建,比如上面提到的 `editor-formula` 插件,并且使用的 Answer 代码版本是小于 1.3.5 的,所以需要调整插件的一些信息,这种情况就需要使用该命令来完成构建。
#### 2.2.Build Single Plugin Using Local Plugin Code

If you need to modify some plugin information or build a plugin using your own private implementation, you need to use the command `with local plugins`. For example, the `editor-formula` plugin mentioned above is compatible with Answer versions below 1.3.5, so you need to modify some plugin information. In this case, you can use the following command to build the plugin:

Expand All @@ -178,11 +174,7 @@ Verify plugin installation command: `./new_answer plugin`.
#### 2.3.Build Multiple Plugins
The process for building multiple plugins is similar to building a single plugin. Please kindly refer to building single plugin and try it yourself.


### 3.Verify Plugins Locally

使用命令行验证只是确保插件已经打进去了,想要查看插件是否能正常运行,可以本地运行生成的二进制文件进行查看,二进制运行[文档](https://answer.apache.org/docs/installation)
![installation docs](installation.webp), 按照文档步骤初始化完信息。注意这里需要运行的是 new_answer 二进制,所以命令行中的 ./answer 需要使用 ./new_answer
### 3.Verify Plugins Locally

Using the command line only ensures that the plugins have been installed. To check if the plugins are running correctly, you can run the generated binary file locally. Please refer to the [installation documentation](https://answer.apache.org/docs/installation) for instructions on initializing the information.
![installation docs](installation.webp)
Expand Down
6 changes: 4 additions & 2 deletions blog/2024-07-11-apache-answer-coc-asia-2024/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Join me as I share Answer's journey—from the transformative insights gained by
Why does ASF believe in "Community over Code"? There is more to open-source than just code contribution. In this track, let’s explore topics like governance models, growing project communities, diversity and inclusion, community health metrics, management tools, project roadmaps, case studies, and sustaining open-source communities.

#### Enhance Your Community Engagement with Apache Answer

Speaker: Anne Zhu
Apache Answer PPMC member, and marketing specialist.

Expand All @@ -48,7 +49,7 @@ Apache Answer is an open-source Q&A platform software. It is designed to enhance
### Keynote
Keynote is the place where you can see the latest breakthrough of open source, gain views of from different aspects of open source, and ways you can get involve.

#### Beyond the Code: Growing in the Apache Community
#### Beyond the Code: Growing in the Apache Community
Speaker: Nadia Jiang and Anne Zhu
PPMC member of Apache Answer

Expand All @@ -59,5 +60,6 @@ Nadia and Anne will share their experiences as non-developers thriving in open s
## Drop By at Our Booth
Our journey starts with the booth, how can we miss it this year? We’ve prepared stickers, brand-new flyers, and of course, you can give it a try with Answer.Meta to unlock the latest features. Come and talk to our committers, we’re all ears for your feedback and questions.

## Save Your Date. Get the Ticket.
## Save Your Date. Get the Ticket.
Ready for an Apache journey? [Register now](https://asia.communityovercode.org/#register) and get your ticket. See you in Hangzhou.

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ Apache Answer 是一款开源的问答平台软件。我将向你展示 Answer
### Keynote 专题
在硬核技术含量拉满的 Keynote 专题中,你或许想知道非技术人如何进行社区贡献,如何收获个人成长,并了解社区建设的实践案例,那么,请不要错过 Nadia 和 Anne 的演讲!

#### 非技术人在开源社区的成长

#### 非技术人在开源社区的成长
讲者:Nadia Jiang 和 Anne Zhu | Apache Answer PPMC 成员

在这个演讲中,Nadia 和 Anne 将从非技术开发的视角,介绍在开源社区中有哪些非代码贡献的机会。我们将探讨文档编写、社区管理、市场营销等各种对社区产生重要影响的角色和活动。此外,我们还将分享非技术人在开源世界中的职业发展路径,展示这些角色的职业道路和成长潜力。
Expand Down

0 comments on commit 1565502

Please sign in to comment.