I have a small, self-hosted Discourse site created with a standard Docker installation. I’ve installed plenty of plugins into over the years by editing the hooks at the end of containers/app.yml file to git clone a plugin repository. I’ve done a bit of plugin development, as well.
A few months ago, though, many standard plugins were merged into Discourse core. Let’s suppose I fork the whole Discourse repo, edit one of those plugins (say, discourse-math), and get the changes working beautifully in my local development environment. What’s the procedure to get this new plugin into my production Discourse instance?
Because, I’m hoping to update the outdated version of MathJax that’s used by the discourse-math plugin.
OK, it looks to me like this line is what I’m missing:
cmd:
- rm -r poll
To be clear, though, what is poll? I would think I should remove the old discourse-math directory to prevent the conflicts that I seem to be getting. That is, something like
cmd:
- -r plugins/discourse-math
Doesn’t look like a good command to go running willy-nilly.
That might be a change that is pr-welcome for the official plugin. If you are interested in talking a stab at that for the benefit of everyone relying on the plugin, start a Feature topic to propose it.