# “Easy” development environment creation

**URL:** <https://meta.discourse.org/t/easy-development-environment-creation/43306>\
**Category:** Development\
**Created:** [April 27, 2016, 8:17am UTC](https://meta.discourse.org/t/easy-development-environment-creation/43306 "2016-04-27T08:17:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)\
**Post date:** [April 27, 2016, 8:17am UTC](https://meta.discourse.org/t/easy-development-environment-creation/43306/1 "2016-04-27T08:17:40Z")

</div>

Hello,

I wanted to try and fix a one row of JavaScript code in Discourse but could not dare submit a PR without making sure I did not break anything or making sure it did really fix the problem.

So I found what was said to be the easiest way to start a Discourse dev env up: [VAGRANT.md](https://github.com/discourse/discourse/blob/master/docs/VAGRANT.md#getting-started).

In there I read:

> ### Getting Started
> 
> 1. Install Git: [Redirecting…](http://git-scm.com/downloads) (or [GitHub for Windows](http://windows.github.com/) if you want a GUI)
> 2. Install VirtualBox: [Downloads – Oracle VirtualBox](https://www.virtualbox.org/wiki/Downloads)
> 3. Install Vagrant: [http://www.vagrantup.com/](http://www.vagrantup.com/) (We require Vagrant 1.7.2 or later)
> 4. Open a terminal
> 5. Clone the project: `git clone https://github.com/discourse/discourse.git`
> 6. Enter the project directory: `cd discourse`

So I followed steps 123 (I already have git and cloned a fork of discourse on my Windows laptop) and installed Virtualbox for my Windows then Vagrant for my Windows.  
Until I realised, well:

- Are those steps starting from Vagrant installation shouldn’t have been done from **inside** Virtualbox?
- My Virtualbox is just empty, what OS should I put here?
- Why install git before Virtualbox if it should be inside?

I am confused.  
I have done three first steps but fourth step tells me to open terminal. In Virtualbox? Which VDI?  
I must be even dumber than what was expected making those _easy_ dev env install docs.  
Are there some _official_ pre‐installed VDI image? Like [this seemingly outdated image](https://bitnami.com/stack/discourse/virtual-machine)?

Should the doc have been interpreted as following?

> ### Getting Started
> 
> 1. Install VirtualBox: [Downloads – Oracle VirtualBox](https://www.virtualbox.org/wiki/Downloads)
> 2. Download and open this or that VDI file (which contains this or that installed OS with git)
> 3. Install Vagrant from inside VirtualBox: [http://www.vagrantup.com/](http://www.vagrantup.com/) (We require Vagrant 1.7.2 or later)
> 4. Open a terminal from inside VirtualBox
> 5. Clone your fork of the project: `git clone https://github.com/yourname/discourse.git`
> 6. Enter the project directory: `cd discourse`

From my point of view (for my low level abilities), some steps were missing. 😕

I have read both the [“ **Discourse as Your First Rails App** ” blog post](http://blog.discourse.org/2013/04/discourse-as-your-first-rails-app/) and [its comments](https://meta.discourse.org/t/discourse-as-your-first-rails-app/5751) as well.

---

_[View the full topic](https://meta.discourse.org/t/easy-development-environment-creation/43306)._
