Investigate how we will transfer existing platform to GeoNode2 using pre-alpha version

Bug #1099844 reported by Ben Wyss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Confirmed
Undecided
Ben Wyss

Bug Description

as Geonode 2.0 is as of the time of this bug not available, I instead integrated the dwelling fractions application into the current OQP based on Geonode 1.2.

(my notes)
adding leaflet js to OQP:

first add a new page:
add a html file to /etc/geonode/templates.apps/oq-platform

then add the page to the oqp menu.html: /var/lib/openquake/oq-ui-api/etc/geonode/templates/oq-platform/includes/menu.html
&
/etc/geonode/templates/oq-platform/includes/menu.html
like this:
<li><a href="/oq-platform/leaflet.html">leaflet</a></li>

then add the binding in django to the new page in: /var/lib/geonode/src/GeoNodePy/geonode/urls.py

add all the leaflet wax etc dependancies in (see attachment):
/var/www/geonode/static/oq-platform/script/

Tags: ui
Revision history for this message
Ben Wyss (bmwyss) wrote :
Revision history for this message
matley (matley) wrote :

Is this issue still valid?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.