# Install Discourse development environment on Windows?

**URL:** https://meta.discourse.org/t/install-discourse-development-environment-on-windows/68039
**Category:** Self-hosting
**Created:** [2017年八月14日 19:43 UTC](https://meta.discourse.org/t/install-discourse-development-environment-on-windows/68039 "2017-08-14T19:43:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)
#### Post date: [2017年八月14日 19:43 UTC](https://meta.discourse.org/t/install-discourse-development-environment-on-windows/68039/1 "2017-08-14T19:43:51Z")

</div>

Hi,

I want to move my forum Mybb to Discourse. @pfaffman suggest me install Discourse development environment for the import database. So, i installed VirtualBox, Vagrant and Github Desktop on my Windows machine. ([from what I learned this tutorial](https://blog.discourse.org/2013/04/discourse-as-your-first-rails-app/))

I set up requirements but i don’t know what should i do. Should i install Discourse on the VirtualBox Ubuntu VM first? I have installed Discourse on VPS many times but i can’t install to my local machine. ☹

---

<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: [2017年八月14日 19:59 UTC](https://meta.discourse.org/t/install-discourse-development-environment-on-windows/68039/2 "2017-08-14T19:59:15Z")

</div>

So now you’d enter the console via powershell and run the import script.

You’ll also need to get mysql installed and the database imported there, or configure your mySQL database to allow connections to it from your development machine; this is slower, but allows you to import directly from your live database.

---

<div class="post-metadata">

### Author: ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)
#### Post date: [2017年八月14日 20:14 UTC](https://meta.discourse.org/t/install-discourse-development-environment-on-windows/68039/3 "2017-08-14T20:14:59Z")

</div>

I have not come to this stage yet. 🙂 I do not know how to install Discourse with Vagrant. Should i create VM on VirtualBox with Ubuntu OS and install discourse? But how i connect this with vagrant? I am confused. 🙂

---

<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: [2017年八月14日 20:37 UTC](https://meta.discourse.org/t/install-discourse-development-environment-on-windows/68039/4 "2017-08-14T20:37:04Z")

</div>

You linked to instructions for installing Discourse with Vagrant on Windows. If you can’t follow those instructions I don’t know how I can help.
