# 如何在本地以生产模式运行 Discourse？

**URL:** <https://meta.discourse.org/t/how-to-run-discourse-in-production-mode-locally/87198>\
**Category:** Development\
**Created:** [2018 年5 月 10 日 19:19 UTC](https://meta.discourse.org/t/how-to-run-discourse-in-production-mode-locally/87198 "2018-05-10T19:19:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
发布日期： [2018 年5 月 10 日 21:56 UTC](https://meta.discourse.org/t/how-to-run-discourse-in-production-mode-locally/87198/2 "2018-05-10T21:56:04Z")

</div>

Simplest way is actually to run a docker image locally, it saves a bunch of questions.

Your steps will more-or-less work though but I would spin up unicorn not puma.

---

_[View the full topic](https://meta.discourse.org/t/how-to-run-discourse-in-production-mode-locally/87198)._
