# Help installing Discourse for Developer

**URL:** https://meta.discourse.org/t/help-installing-discourse-for-developer/75914
**Category:** Development
**Created:** [December 12, 2017, 9:46pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914 "2017-12-12T21:46:30Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![EdgarC](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@EdgarC](https://meta.discourse.org/u/EdgarC)
#### Post date: [December 12, 2017, 9:46pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/1 "2017-12-12T21:46:30Z")

</div>

Hello,

I was Installing the Discourse Dependencies and packages to my system, but I didn’t know that this will require about 7gigs of my hdd. I’m not sure if the installation is successful because in the process I was getting messages about that my computer is running out of space.

My computer has only 1gig free now and I’m not sure If I can continue with the installation locally.

How can I proceed with this installation?

Thank you!

Thank you

 ![40 PM](https://global.discourse-cdn.com/meta/original/3X/c/f/cfbcc6f7660736640be6554213bc07e98d12b962.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 12, 2017, 9:48pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/2 "2017-12-12T21:48:49Z")

</div>

My recommendation would be to use our docker dev based setup from here onwards.

Install docker for mac and then follow:

> **[discourse/bin/docker at main · discourse/discourse](https://github.com/discourse/discourse/tree/main/bin/docker)**
>
> main/bin/docker

Does that work for you?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 13, 2017, 12:45am UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/3 "2017-12-13T00:45:45Z")

</div>

A post was split to a new topic: [I had issues with docker dev in the past](https://meta.discourse.org/t/i-had-issues-with-docker-dev-in-the-past/75926)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 13, 2017, 8:54pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/4 "2017-12-13T20:54:16Z")

</div>

Hi Edgar, have you had any luck here? Is anything blocking you?

---

<div class="post-metadata">

### Author: ![EdgarC](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@EdgarC](https://meta.discourse.org/u/EdgarC)
#### Post date: [December 14, 2017, 10:19pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/5 "2017-12-14T22:19:14Z")

</div>

Hi Sam, yeah my computer is blocking me to continue, I’m running Yosemite 10.10.5 and Docker doesn’t support that version anymore. I will make the upgrade of my OS later today and I will let you know if I have any problems. Thank you!

---

<div class="post-metadata">

### Author: ![EdgarC](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@EdgarC](https://meta.discourse.org/u/EdgarC)
#### Post date: [December 15, 2017, 6:34pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/9 "2017-12-15T18:34:16Z")

</div>

Hello, I’m having problems to install the Bootstrap Discourse, none of the gems (source ~/.bashrc and bundle install) seems to work, what I’m doing wrong? Attached screenshot of where I’m stuck, thank you!

 ![09 PM](https://global.discourse-cdn.com/meta/original/3X/6/b/6b2f9daae39f1c2208fa3a4a8d3bc723c1a6bca0.png)

---

<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: [December 15, 2017, 7:02pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/10 "2017-12-15T19:02:28Z")

</div>

Is this what you did?

```plaintext
cd ~/discourse
./bin/docker/boot_dev --init
    # wait while:
    # - dependencies are installed,
    # - the database is migrated, and
    # - an admin user is created (you'll need to interact with this)

./bin/docker/rails s

```

---

<div class="post-metadata">

### Author: ![EdgarC](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@EdgarC](https://meta.discourse.org/u/EdgarC)
#### Post date: [December 15, 2017, 7:54pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/11 "2017-12-15T19:54:35Z")

</div>

Hi Jay, I’m not using Docker to install Discourse for Development, I’m using Terminal and I’m not really sure about what you just mentioned. I’m following the steps and when installing the Bootstrap Discourse doesn’t look that is doing anything, please see screenshot. Thank you

 ![04 PM](https://global.discourse-cdn.com/meta/original/3X/4/7/47b59ea76d600d8f4e25f43b0e9bddc38fb47073.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 15, 2017, 10:19pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/12 "2017-12-15T22:19:57Z")

</div>

I strongly recommend docker, cause it becomes as simple as running a single command

Installing docker on Mac is super easy

---

<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: [December 15, 2017, 10:37pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/13 "2017-12-15T22:37:32Z")

</div>

As @sam said, if you just type the commands that I showed you above, you’ll be all set.

Also, do you see where you typed “cd discourge” and not “cd discourse” and you didn’t notice that you typed it wrong and just kept going? If you are not paying enough attention to notice that, or don’t understand what “No such file or directory” means, then you really don’t have much of a chance.

Why do you want a development environment?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 15, 2017, 10:39pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/14 "2017-12-15T22:39:55Z")

</div>

@pfaffman he needs a dev setup as a designer so he can contribute css changes to core, it is an edge case but not a huge one imo

---

<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: [December 15, 2017, 10:49pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/15 "2017-12-15T22:49:01Z")

</div>

Seems like a great use for Docker development to me!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 15, 2017, 10:50pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/16 "2017-12-15T22:50:52Z")

</div>

Not to me, though. “You must be a full blown dev to build a simple CSS theme” is madness, in my book 😱

But I guess it is what it is.. this is a project of sheer cliff-face wall barriers to new contributors and has been for a long time. I guess the good news is that people who don’t [freeze to death on Kilimanjaro](http://climbingkilimanjaro.info/is-climbing-kilimanjaro-dangerous/) go on to become amazing mountain climbers?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 15, 2017, 11:14pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/17 "2017-12-15T23:14:39Z")

</div>

Installing discourse with docker dev is a 15 minute job, I do not think it is fair to call this mountain climbing

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 15, 2017, 11:17pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/18 "2017-12-15T23:17:40Z")

</div>

Depends on your perspective. If all you know is basic HTML and CSS it is a huge mountain.

Also, if you want someone to do something, urging them to do it, walking them through the steps, pointing them to how-to guides is fruitless. What you should be asking yourself is _why aren’t they already doing what I want them to?_

And that’s a much more interesting conversation about barriers to entry.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 15, 2017, 11:25pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/19 "2017-12-15T23:25:00Z")

</div>

The specific instructions are:

1. install [https://store.docker.com/editions/community/docker-ce-desktop-mac](https://store.docker.com/editions/community/docker-ce-desktop-mac) per instructions on site

2. open terminal

3. type: `git clone https://github.com/discourse/discourse`

4. type: return

5. type: `cd discourse`

6. type: return

7. type: `./bin/docker/boot_dev --init`

8. type: return

9. type: `./bin/docker/rails s`

10. type: return

11. open web browser

12. type: `http://localhost:3000`

That is it, all done. The big barrier here is that @EdgarC had low disk space followed by running an old version of Mac OS (Docker supports El Capitan which was released at September 30, 2015)

I completely concede that if you insist on being able to do this on old Macs it can be fairly tricky, but Windows 10 or, less than 2 year old mac it should be fairly straight forward.

---

<div class="post-metadata">

### Author: ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)
#### Post date: [December 15, 2017, 11:26pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/20 "2017-12-15T23:26:44Z")

</div>

On Windows PC’s (I don’t know about Macs), you have to turn on virtualization in the BIOS.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 15, 2017, 11:31pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/21 "2017-12-15T23:31:17Z")

</div>

On Windows are able to have a single script you can run to get it going on WSL, I know @vinothkannans was interested on showing this off.

This could be down to

- “enable WSL” - Screenshots attached
- Open terminal
- Type a single command, hit enter.

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [December 16, 2017, 8:00am UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/22 "2017-12-16T08:00:43Z")

</div>

hey @notriddle, are you using Windows 10? then you don’t have to worry about virtualization anymore. Discourse development in Windows is very simple now.

[Install Discourse on Windows for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-windows-10-for-development/75149)

---

<div class="post-metadata">

### Author: ![EdgarC](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@EdgarC](https://meta.discourse.org/u/EdgarC)
#### Post date: [December 18, 2017, 1:50pm UTC](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914/23 "2017-12-18T13:50:00Z")

</div>

I did not continue using Docker because they do not support my current iOS version and as per Sam’s advice, it’s better for me to have Discourse installed locally.

I still have problems on the Bootstrap step, what could it be?

Thank you

 ![05 PM](https://global.discourse-cdn.com/meta/original/3X/5/d/5dd9401f2b277c3ab6a54e2a72c541566417da03.png)

[Next page](https://meta.discourse.org/t/help-installing-discourse-for-developer/75914.md?page=2)
