<div dir="ltr">Hi,<div><br></div><div>PUBLIC_LOCATION is the address of the OGC_SERVER, which is geoserver in our case. The GeoNode address is SITEURL.</div><div><br></div><div>For the categories, try to run: python manage.py loaddata geonode/base/fixtures/initial_data.json. Seems that the categories are not loaded by default in your installation.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-22 15:12 GMT+01:00 admire <span dir="ltr"><<a href="mailto:addloe@gmail.com" target="_blank">addloe@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hi</p>
<p>I have geonode 2.4 installed via docker and inside the metadata
document I see it is generating url with localhost for the even
though I changed PUBLIC_LOCATION to point to an external ip. How
can I ensure that localhost does not appear in metadata.</p>
<p>I also need to customize the section for supplementary
information in my metadata so that my app can use it. I have
changed full_metadata.xml to <br>
</p>
<p> <gmd:supplementalInformation><br>
{{ layer.supplemental_information }}<br>
</gmd:supplementalInformation></p>
<p>But with this change I cannot update my metadata document as it
throws an error. <br>
</p>
<p class="m_1439202935897977448bg-danger">Error updating metadata. Please check the
following fields: </p>
<ul class="m_1439202935897977448bg-danger">
<li>
<ul class="m_1439202935897977448errorlist">
<li>Category is required.</li>
</ul>
</li>
</ul>
<p>It seems to disable the Category tab.</p>
<p>Regards<br>
</p>
</div>
<br>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>