How to customize the Discourse app using docker container?

We want to develop new app similar to discourse, so we are trying to customized the discourse app.
We referred following url to install docker container in local system.

But whenever we changed any template (html files), the changes would not be reflected. after that we restarted the docker container and also we tried to rebuild the docker container using ./launcher rebuild app command but still we faced the same issue.

Then we thought that we installed discourse on local machine (ubuntu 14.04), so we followed below url for installation,

So we faced below mentioned issue.
LoadError: Could not open library ‘/home/siddhu/discourse/www/discourse/vendor/bundle/ruby/2.5.0/gems/sassc-1.11.4/ext/libsass/lib/libsass.so’: /home/siddhu/discourse/www/discourse/vendor/bundle/ruby/2.5.0/gems/sassc-1.11.4/ext/libsass/lib/libsass.so: symbol _ZTVNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

we searched above issue on google, some links we got that in which they mentioned how to resolve this issue but still isssue was not resolved. So locally it is not possible to install discourse. Is there any specific version of ubuntu is required to installed discourse ?

So basically we want one docker development container, in which we can customized the discourse app.

A better solution would be to customize discourse with a plugin.

If you’re having trouble getting a development environment set up (then you really, really, really shouldn’t consider forking), you should try https://github.com/discourse/discourse/tree/master/bin/docker as recommended HOWTO Set up a development environment using vagrant (Ubuntu guide) - #19 by sam.

3 Likes

You might get away with the docker version if you can use existing plugins or theme components to perform the required customisations (there’s a lot of existing stuff you can use without getting too dirty - take a look through the plugin and theme categories).

Otherwise you need to look at developing your own plugin as pfaffman suggests.

You don’t even need to install dev locally btw - I use a cloud server.

More of my tips on getting started with plugin dev here: