[GeoNode-devel] DEBUG/DEBUG_STATIC mode with Windows installer deployment

Côté, Kevin Kevin.Cote at wsp.com
Fri Oct 27 08:59:24 PDT 2017


Hi,

I want to run GeoNode under DEBUG_STATIC mode to use modified non-minified javascript source code files. I installed GeoNode 2.6 with the Windows Installer and everything works fine. Here are my steps to try to use the DEBUG_STATIC mode:


1.      Modify the GeoExplorer-Debug.js file (C:\GeoNode-2.6.x\geonode-2.6.x\Lib\site-packages\geoexplorer\static\geoexplorer\script).

2.      Run the "virtualenv_local_setup.bat" file to get in the virtualenv.

3.      While in the virtualenv, I collected static file using python manage.py collecstatic (the file is being copied to static_root correctly).

4.      Edit local_settings.py and settings.py: set DEBUG and DEBUG_STATIC to true.

5.      Restart apache2/jetty services.

After doing that, GeoNode is still loading the minified version and not the debug version of the javascript source code for GeoExplorer.

How can I set correctly the file/settings so that the GeoNode instance is running in debug mode ?

Kevin




________________________________


NOTICE: This communication and any attachments ("this message") may contain information which is privileged, confidential, proprietary or otherwise subject to restricted disclosure under applicable law. This message is for the sole use of the intended recipient(s). Any unauthorized use, disclosure, viewing, copying, alteration, dissemination or distribution of, or reliance on, this message is strictly prohibited. If you have received this message in error, or you are not an authorized or intended recipient, please notify the sender immediately by replying to this message, delete this message and all copies from your e-mail system and destroy any printed copies. You are receiving this communication because you are listed as a current WSP contact. Should you have any questions regarding WSP's electronic communications policy, please consult our Anti-Spam Commitment at www.wsp.com/casl<http://www.wsp.com/casl>. For any concern or if you believe you should not be receiving this message, please forward this message to caslcompliance at wsp.com<mailto:caslcompliance at wsp.com> so that we can promptly address your request. Note that not all messages sent by WSP qualify as commercial electronic messages.

AVIS : Ce message, incluant tout fichier l'accompagnant (« le message »), peut contenir des renseignements ou de l'information privilégiés, confidentiels, propriétaires ou à divulgation restreinte en vertu de la loi. Ce message est destiné à l'usage exclusif du/des destinataire(s) voulu(s). Toute utilisation non permise, divulgation, lecture, reproduction, modification, diffusion ou distribution est interdite. Si vous avez reçu ce message par erreur, ou que vous n'êtes pas un destinataire autorisé ou voulu, veuillez en aviser l'expéditeur immédiatement et détruire le message et toute copie électronique ou imprimée. Vous recevez cette communication car vous faites partie des contacts de WSP. Si vous avez des questions concernant la politique de communications électroniques de WSP, veuillez consulter notre Engagement anti-pourriel au www.wsp.com/lcap<http://www.wsp.com/lcap>. Pour toute question ou si vous croyez que vous ne devriez pas recevoir ce message, prière de le transférer au conformitelcap at wsp.com<mailto:conformitelcap at wsp.com> afin que nous puissions rapidement traiter votre demande. Notez que ce ne sont pas tous les messages transmis par WSP qui constituent des messages electroniques commerciaux.



-LAEmHhHzdJzBlTWfa4Hgs7pbKl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20171027/46efb74a/attachment-0001.html>


More information about the geonode-devel mailing list