Digital Ocean + GitHub

I’ve installed the Discourse droplet on Digital Ocean and I want to create a repo that will allow me to download the codebase, make changes and then upload it back to Digital Ocean. I’m at a bit of loss, since it is being run on containers and I don’t see the base directory for where the site is being hosted from when I SSH into the droplet.

Any help would be great.

1 Like

Hi Lynn. :wave:

From the install steps:

6. Install Discourse

Clone the Official Discourse Docker Image into /var/discourse.

sudo -s
git clone /var/discourse
cd /var/discourse
chmod 700 containers

You will need to be root through the rest of the setup and bootstrap process.

So that repo would be cloned at /var/discourse. :+1:

1 Like

You probably don’t want to do this. Although it might appear to be a great idea at the time, making changes to Discourse is best achieved with its fantastic plugin, theme and theme component architecture its developers have painstakingly provided for our benefit.

Maintaining a fork makes life very boring and unproductive and should arguably only be pursued if you intend to PR within a short timespan.


Not boring. But very unproductive. Unless you want to pay up have several engineers whose full time job is keeping up with seeing that your fork still works, you want to use plugins or theme components. The only group that did that was very sorry.


Thanks gang. We are going to stick with theme/component/plugin dev for modifications.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.