A user, SamiBoy, asks how to apply changes from a custom GitHub repository to a Discourse instance running with Docker. They tried fetching a specific file from their repo and restarting the app, but the changes didn’t take effect. pl3bs questions the goal, while Mittineague suggests using the Admin Control Panel for locale changes. Abdul_Munim_Zahid recommends forking the Discourse repo, but sam counters that forking is generally discouraged and plugins are preferred. SamiBoy clarifies they’re testing in a development environment and want to know how to reload config files. sam explains that restarting the unicorn workers with sv restart unicorn can reload changes without a full restart.
Hello everybody,
i’m newbie on docker, and i was wondering how can my changes from other repo take effect
i tried only with one file after instaling discourse with docker
These are my steps to implement the changes:
cd /var/discourse
./launcher enter app
cd /var/www/discourse
su discourse
git remote add discourse2 https://github.com/XXX/discourse2.git
git fetch discourse2
git checkout discourse2/master – config/locales/client.fa_IR.yml
i’m trying to customize discourse using my own github repo
After fetching my code… should i just restart the app with ./launcher restart app
because that did nothing, when i tried it with the example above didn’t work, it’s lstill uses the old client.fa_IR.yml not the new one
Generally, forking is not a good idea period. Our recommendation is always to use plugins to extend Discourse, forking is expensive to maintain and impractical in most cases.
i’m sorry, but this is not the subject here
In Dev environment, I could cease the rails server to reload the config files. Is there something like the rails server within docker?
(other than ./launcher restart app… it does not reload the config files)