Push to digital ocean from command line and rebuild

AI-generated summary

User MatthiasRMS is seeking help with deploying changes to their Discourse instance on Digital Ocean. They have made customizations to the core and want to know how to deploy these changes from the command line or through GitHub. vinothkannans advises against customizing the Discourse core, recommending instead to use Admin side customizations, Custom themes, or Plugins, which are easily maintainable and support Docker.

Hi !

I’ve followed the official install guide and I managed to have discourse working on digital ocean.
However, I couldn’t find how to setup a regular deployment flow (I’m not very familiar with docker and digital ocean).

I have discourse running locally (without docker), and running on digital ocean. How can I deploy my changes to the droplet ? Can I setup automatic deployment from github or can I simply deploy from the command line ? Do I need to rebuild discourse afterwards to see the changes ?

Thanks for your help

Are you doing modifications in the Discourse core and like to deploy it?

I’m “customizing” some elements. I need to integrate a few things that aren’t feasible “out of the box”. I’ve spent a lot of time working with rails and it’s not big changes. Works fine locally. Now I don’t know how to deploy it on my digital ocean droplet (which uses docker).

Customizing Discourse core is not recommended. And official docker installation does not have easy way deploy it. To do modifications the best ways are

  1. Admin side customizations
  2. Custom themes
  3. Plugins

All these ways are easily maintainable and supporting docker.