# How to setup both development and production environment

**URL:** <https://meta.discourse.org/t/how-to-setup-both-development-and-production-environment/47040>\
**Category:** Support\
**Created:** [July 9, 2016, 5:58pm UTC](https://meta.discourse.org/t/how-to-setup-both-development-and-production-environment/47040 "2016-07-09T17:58:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Bowen\_Zheng](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bowen_zheng/32/121663_2.png) [@Bowen\_Zheng](https://meta.discourse.org/u/Bowen_Zheng)\
**Post date:** [July 9, 2016, 5:58pm UTC](https://meta.discourse.org/t/how-to-setup-both-development-and-production-environment/47040/1 "2016-07-09T17:58:54Z")

</div>

Hi,

I’m new to Discourse and Ruby, so forgive me for asking such simple question. But I have a production website with Docker running on my DigitalOcean server and a development version with Vagrant running on my Mac. Is this the proper setup? Or should I make both environments on my server? After tweaking and developing in the development environment, what’s the best practice to deploy everything I did to the server? Please help me with this or suggest me a tutorial if possible. Thank you so much!

---

_[View the full topic](https://meta.discourse.org/t/how-to-setup-both-development-and-production-environment/47040)._
