Proper Development and Deployment

Hello, this might have been asked before but I searched and couldn’t find my answer, maybe I don’t know the proper terms, I’m new to discourse but I’ve been having a problem, when I run my instance locally I make changes to the appearance, I add themes, but when I push the code to a repo in github for example, when I pull and run that instance everything is gone and I need to set everything again manually, tags, logos, custom avatars, etc… so I wanted to know what is the proper way to develop locally and have everything done locally reflected in production when pushing to a repo??

If you want to change things then you do them in theme components or plugins. You don’t edit the discourse core code.

Theme Developer Quick Reference Guide Developing Discourse Plugins - Part 1 - Create a basic plugin

2 Likes