geonode icon indicating copy to clipboard operation
geonode copied to clipboard

Un minified JavaScript

Open calvinmetcalf opened this issue 13 years ago • 7 comments

Debugging would be much easier if either source maps were available or if in development mode the non minified javascript was used.

calvinmetcalf avatar Nov 09 '13 14:11 calvinmetcalf

Hi you can activate the DEBUG_STATIC in the settings which will use unminified javascript. You need bower and grunt for that and launch the command paver update_static. hope this helps

simod avatar Nov 09 '13 22:11 simod

that doesn't un minify all of the JavaScript, notably Geonode and GeoExplorer.js aren't unminified.

calvinmetcalf avatar Nov 11 '13 12:11 calvinmetcalf

Well they, especially geoexplorer, are very huge. I think that @bartvde could give you some hints on how get them.

simod avatar Nov 11 '13 13:11 simod

I think @jj0hns0n and I talked about getting a debug version of GeoExplorer in the GeoExplorer war file, but not sure if this ever happened.

bartvde avatar Nov 11 '13 13:11 bartvde

long term using a source map might be a good idea, but the fact that it's huge means that its very likely that is where a bug might be

calvinmetcalf avatar Nov 11 '13 13:11 calvinmetcalf

@capooti and I found a way to do this and documented it here:

http://docs.geonode.org/en/master/tutorials/devel/debug/geoexplorer.html

This should be enough this ticket, although more could be done on the django-geoexplorer side to make it even easier.

ingenieroariel avatar Apr 16 '14 10:04 ingenieroariel

:( that page no longer exists now @ingenieroariel

jaywhy13 avatar Jan 26 '16 19:01 jaywhy13