# 网站改版脚本：最佳场地是什么？

**URL:** <https://meta.discourse.org/t/site-rearrangement-scripting-whats-the-best-venue/241892>\
**Category:** Development\
**Created:** [2022年十月14日 01:50 UTC](https://meta.discourse.org/t/site-rearrangement-scripting-whats-the-best-venue/241892 "2022-10-14T01:50:16Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**Post date:** [2022年十月15日 11:38 UTC](https://meta.discourse.org/t/site-rearrangement-scripting-whats-the-best-venue/241892/11 "2022-10-15T11:38:10Z")

</div>

非常感谢 @Stephen！

供将来搜索到此处的任何人参考：

> [@Script framework to rearrange topics and categories](https://meta.discourse.org/t/script-framework-to-rearrange-topics-and-categories/241964?u=mcdanlj):
>
> In order to script rearranging a large Discourse with working with my site leadership, I wrote a simple framework for packaging up a bunch of ruby scriptlets to be driven from a YAML configuration file. This way, I can restore a backup on a staging site, run my script, get feedback, change a few lines of YAML, restore the backup, run the script with new configuration, and repeat until satisfied. I have almost 600 lines of configuration for my site, and doing that by manual manipulation through …

---

_[View the full topic](https://meta.discourse.org/t/site-rearrangement-scripting-whats-the-best-venue/241892)._
