# Discourse 开发环境设置

**URL:** https://meta.discourse.org/t/discourse-developement-environment-setup/220492
**Category:** Self-hosting
**Created:** [2022年三月9日 05:10 UTC](https://meta.discourse.org/t/discourse-developement-environment-setup/220492 "2022-03-09T05:10:19Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2022年三月9日 15:20 UTC](https://meta.discourse.org/t/discourse-developement-environment-setup/220492/2 "2022-03-09T15:20:39Z")

</div>

> [@Hemant\_Raju1](#):
>
> 所以，我现在想开始对功能/代码进行一些更改。

是的，但你几乎肯定想通过创建插件来做到这一点（另一种选择是你想向 Discourse 核心提交更改）。请参阅[Discourse 插件创建入门指南第一部分：创建基本插件](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins-part-1-creating-a-basic-plugin/30515)。我还建议你从 [GitHub - discourse/discourse-plugin-skeleton: Template for Discourse plugins](https://github.com/discourse/discourse-plugin-skeleton) 开始。

但是，如果你在浏览器中看到 Discourse，那么你可以添加该骨架插件并开始在那里进行更改。另一个可以参考的地方（一旦你大致知道自己在做什么）是 [discourse/lib/plugin/instance.rb at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/main/lib/plugin/instance.rb)

---

_[View the full topic](https://meta.discourse.org/t/discourse-developement-environment-setup/220492)._
