# How to install Discourse on Koding?

**URL:** https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614
**Category:** Self-hosting
**Created:** [November 28, 2014, 12:00am UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614 "2014-11-28T00:00:15Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Matthew\_Hawley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/matthew_hawley/32/537105_2.png) [@Matthew\_Hawley](https://meta.discourse.org/u/Matthew_Hawley)
#### Post date: [November 28, 2014, 12:00am UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/1 "2014-11-28T00:00:15Z")

</div>

How do I install Discourse on Koding?

Thanks!

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [November 28, 2014, 12:24am UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/2 "2014-11-28T00:24:16Z")

</div>

Fork it and open your fork within Koding through GitHub? At least that’s how you’d do it using Cloud9, and Koding seems similar to Cloud9

And you won’t be able to run it on Cloud9 or Koding, the requirements to run it are way too high for those environments.

---

<div class="post-metadata">

### Author: ![Matthew\_Hawley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/matthew_hawley/32/537105_2.png) [@Matthew\_Hawley](https://meta.discourse.org/u/Matthew_Hawley)
#### Post date: [November 28, 2014, 12:28am UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/3 "2014-11-28T00:28:08Z")

</div>

How can I run discourse without paying money?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [November 28, 2014, 12:30am UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/4 "2014-11-28T00:30:03Z")

</div>

Create a VM or use Vagrant locally?

---

<div class="post-metadata">

### Author: ![Matthew\_Hawley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/matthew_hawley/32/537105_2.png) [@Matthew\_Hawley](https://meta.discourse.org/u/Matthew_Hawley)
#### Post date: [November 28, 2014, 12:35am UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/5 "2014-11-28T00:35:53Z")

</div>

Tried vagrant locally and cant get localhost:4000 to load.

---

<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: [November 28, 2014, 2:00am UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/6 "2014-11-28T02:00:29Z")

</div>

vagrant is not intended for any production uses, for production uses use: [GitHub - discourse/discourse\_docker: A Docker image for Discourse · GitHub](https://github.com/discourse/discourse_docker)

---

<div class="post-metadata">

### Author: ![gniting](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gniting/32/122686_2.png) [@gniting](https://meta.discourse.org/u/gniting)
#### Post date: [November 28, 2014, 5:53am UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/7 "2014-11-28T05:53:25Z")

</div>

unlike other cloud based dev environments, docker has full support on koding so you can definitely try this on your [koding.com](http://koding.com). if any questions come up, hit us up at [support@koding.com](mailto:support@koding.com)  
(full disclosure, i work for koding)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [November 28, 2014, 12:31pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/8 "2014-11-28T12:31:53Z")

</div>

How much memory and could do you permit to be used? As Discourse ha high requirements.

---

<div class="post-metadata">

### Author: ![jc\_16](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jc\_16](https://meta.discourse.org/u/jc_16)
#### Post date: [November 28, 2014, 1:23pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/9 "2014-11-28T13:23:50Z")

</div>

How ? I’m finding a way to have a one click install of discourse for free. The only thing that i’ve found is cloud66. However, it does not have the latest version.

---

<div class="post-metadata">

### Author: ![Moter8](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moter8/32/120941_2.png) [@Moter8](https://meta.discourse.org/u/Moter8)
#### Post date: [November 28, 2014, 1:57pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/10 "2014-11-28T13:57:28Z")

</div>

```bash
root: /var/discourse $ ./launcher bootstrap app
WARNING: No swap limit support
Unable to find image 'samsaffron/discourse:1.0.6' locally
Pulling repository samsaffron/discourse
2014/11/28 13:52:29 Error pulling image (1.0.6) from samsaffron/discourse, Untar exit status 1 write /var/www/discourse/.git/objects/pack/pack-89464e242bc548758ab51e2197e35d53ccb2d3b3.pack: no space left on device
Your Docker installation is not working correctly

```

It’s impossible to install on a 3GB instance, the free one, it seems, without some sort of cleanup. 1.53GB are already used on installation.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [November 28, 2014, 2:00pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/11 "2014-11-28T14:00:03Z")

</div>

It isn’t possible on any of their plans. They only offer 1 GB of RAM, that isn’t enough. As I stated previously, you can’t do it.

---

<div class="post-metadata">

### Author: ![Moter8](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moter8/32/120941_2.png) [@Moter8](https://meta.discourse.org/u/Moter8)
#### Post date: [November 28, 2014, 2:01pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/12 "2014-11-28T14:01:31Z")

</div>

1GB RAM is perfectly fine for a Discourse installation. I have no problems running Discourse on a 1GB DO droplet.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [November 28, 2014, 6:07pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/13 "2014-11-28T18:07:12Z")

</div>

You likely have swap handling the remainder, which seems to not be setup on the Koding VMs (based on the output above). Without swap, 1 GB is not enough, plus if you are going to setup it up for primarily development usage, 1 GB is barely going to be usable (based on what testing I’ve done with my own VMs)

---

<div class="post-metadata">

### Author: ![Moter8](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moter8/32/120941_2.png) [@Moter8](https://meta.discourse.org/u/Moter8)
#### Post date: [November 28, 2014, 7:09pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/14 "2014-11-28T19:09:10Z")

</div>

I have 2 Discourse instances running, `moter8.pw` (1GB digitalocean droplet) and `run.moter8.pw` (4GB runabove instance) and I can’t notice any difference between performance.

Sorry for going offtopic.

---

<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: [November 28, 2014, 9:40pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-koding/22614/15 "2014-11-28T21:40:36Z")

</div>

Without swap 1GB might work, but upgrading will be super sketchy as upgrading has much higher memory requirements (all the gem compiling and so forth).

If you ever plan to upgrade your Discourse instance via the built in upgrader you definitely want swap, and it is generally safer to have a bit of swap with 1GB.
