<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Paulo,<div class=""><br class=""></div><div class="">Once you follow these steps:</div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class="">(I've followed this installation steps <a href="https://github.com/GeoNode/geonode-project" class="">https://github.com/GeoNode/geonode-project</a>)</div></div></blockquote><div class="">Then basically you have created a new Django app with GeoNode as it base.</div><div class="">In this sense, you could put your own staticfiles or templates etc in your new Django app.</div><div class="">Let’s say your `project_name` is `my_geonode`, then you can put staticfiles in `my_geonode\static` and put templates in `my_geonode\templates`.</div><div class="">If you want to replace a file, just put it in the exact same directory structure with the corresponding file in GeoNode that you want to override.</div><div class=""><br class=""></div><div class="">I would say, to find the Geonode files itself, you don’t have to find it inside the docker image. Just copy from GeoNode repo. GeoNode version that you need to look up is in the `requirements.txt` file in `my_geonode` root dir.</div><div class="">For example, by default it will show up as this:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><span class=""># GeoNode</span></div><div class="">-e <a href="git+https://github.com/GeoNode/geonode.git@master#egg=geonode" class="">git+https://github.com/GeoNode/geonode.git@master#egg=geonode</a></div><div class=""><span class=""><br class=""></span></div><div class=""><span class="">Which means it fetches directly from master branch. I imagine, you can change this to your corresponding GeoNode version you want to use.</span></div><div class=""><span class="">If for some reasons you want to look at this files directly inside the container, you can find it in python’s site-packages directory (Because in this case GeoNode were installed as python package).</span></div><div class=""><br class=""></div><div class="">If you are interested to see the folder structure inside the docker image, then your Django app will be `copied` into directory `/usr/src/my_geonode`.</div><div class="">Since your Django app were copied at Docker build stage, then if you change your files in your host, you had to rebuild your image to apply the changes.</div><div class="">Alternatively, what I do is to bind mount `my_geonode` for development phase. So I change corresponding entry in `docker-compose.override.yml` to bind mount `my_geonode`.</div><div class="">These are an excerpt of the example:</div><div class=""><br class=""></div><div class="">services:</div><div class="">  django:</div><div class="">    volumes:</div><div class="">      - ./:/usr/src/my_geonode</div><div class=""><br class=""></div><div class="">These steps are probably not so obvious because it assumes that you know how Docker and Django works in general.</div><div class=""><br class=""></div><div class=""><span class="">Regards,<br class="">-- <br class="">Rizky Maulana Nugraha<br class="">Software Developer<br class=""><a href="mailto:rizky@kartoza.com" class="">rizky@kartoza.com</a><br class=""><br class=""></span></div><div class=""><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">

</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 28 Nov 2018, at 18.06, Paulo Frias <<a href="mailto:pfrias82@gmail.com" class="">pfrias82@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi all,</div><div class=""><br class=""></div><div dir="ltr" class="">I have Geonode up and running on docker (I've followed this installation steps <a href="https://github.com/GeoNode/geonode-project" class="">https://github.com/GeoNode/geonode-project</a>). Now I want to do some changes to the geonode template, i.e. change the logo, colours, etc. <br class=""></div><div dir="ltr" class=""><br class=""></div><div class="">I should be able to find the geonode files like base.css, folder "img" with the geonode logo, etc. but I don't know where they are located. Probably somewhere inside docker?! Sorry for this newbie question but I didn't find a solution searching on the web. <br class=""></div><div class=""><br class=""></div><div class="">Thanks in advance. <br class=""></div><div class="">Paulo Frias<br class=""></div><div class=""><br class=""></div><div class="">P.S. - I'm running docker on a Mac Os X. <br class=""></div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class=""> <br class=""></div></div>
_______________________________________________<br class="">geonode-users mailing list<br class=""><a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/geonode-users<br class=""></div></blockquote></div><br class=""></div></body></html>