To install a plugin, open a Web terminal and run the following commands:
cd /app/code/plugins git clone <plugin-repo> cd /app/code bundle exec rake plugin:install_gems['REPLACE_WITH_PLUGINS_NAME']
Restart the application for the assets to get re-built.
If the plugin modifies the posts in some way, you might want to rebake posts.
When changing the domain of an existing discourse installation, Cloudron automatically rebuilds the assets. However, the posts in the forum are not re-written. To rebake the posts, open a Web terminal and run the following command:
sudo -E -u cloudron bundle exec ruby script/discourse remap old.domain.com new.domain.com
To rebuild all posts (for example, to apply formatting provided by a newly installed plugin to old posts), open a Web terminal and run the following command:
sudo -E -u cloudron bundle exec rake posts:rebake