<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="">Dear Dimitris,<div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">So to understand, if I want to have my own geonode-project, I don't need to go through the process of installing 'geonode core‘. </div></div></div></div></div></div></div></div></blockquote><br class=""></div><div class="">Exactly it´s installed as dependency via pip. You do not have to care about it.</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">What eventually need is to have two different folders. One with the geonode core project, which I want modify and the other one with my_geonode project, in which I will apply changes.</div></div></div></div></div></div></div></div></blockquote><div class=""><br class="webkit-block-placeholder"></div><div class="">I haven´t done this workshop yet. But you should not touch the core!</div><div class="">Im quite sure the workshop is meant that you do your changes in geonode-project. </div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><br class="webkit-block-placeholder"></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class="">-----------------------------------------------</div><div class="">CSGIS</div><div class=""><br class=""></div><div class="">-----------------------------------------------</div><div class=""><div class="" style="orphans: 2; widows: 2;">Kolonnadenstraße 1</div><div class="" style="orphans: 2; widows: 2;">04109 Leipzig</div></div><div class="">-----------------------------------------------</div><div class="">Mobil<span class="Apple-tab-span" style="white-space: pre;">   </span>+49/ (0) 176 6680 3198</div><div class="">Tel <span class="Apple-tab-span" style="white-space: pre;">         </span>+49/ (0) 341 24 04 738</div><div class="">Fax <span class="Apple-tab-span" style="white-space: pre;">         </span>+49/ (0) 341 24 04 73</div><div class="">Web<span class="Apple-tab-span" style="white-space: pre;">                </span><a href="http://csgis.de" class="">http://csgis.de</a></div><div class="">-----------------------------------------------</div><div class=""><br class=""></div><div class="">Hinweis gemäß § 33 BDSG</div><div class="">Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den </div><div class="">Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich </div><div class="">erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht </div><div class="">von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, </div><div class="">Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.</div></div></div></div></div></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">Am 19.12.2018 um 17:49 schrieb Dimitris Kar <<a href="mailto:dkarakostis@gmail.com" class="">dkarakostis@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">Thanks Toni, <div class=""><br class=""></div><div class="">So to understand, if I want to have my own geonode-project, I don't need to go through the process of installing 'geonode core'. I can directly install the geonode-project?</div><div class=""><br class=""></div><div class="">But if I understand correctly the training instructions (<a href="http://geonode.org/dev-workshop/#/3/2" class="">http://geonode.org/dev-workshop/#/3/2</a>) I need to follow the below steps after I have installed the 'geonode core project':</div><div class=""><br class=""></div><div class="">1. Make sure to run it just outside the geonode folder as we will keep them completely separate: django-admin.py startproject my_geonode --template=<a href="https://github.com/GeoNode/geonode-project/archive/master.zip" class="">https://github.com/GeoNode/geonode-project/archive/master.zip</a> -e py,rst,json,yml,ini,env,sample -n Dockerfile my_geonode</div><div class="">2. <b class="">workon geonode</b> and </div><div class="">3. execute: pip install -e my_geonode</div><div class="">4.  DJANGO_SETTINGS_MODULE=my_geonode.local_settings paver start</div><div class=""><br class=""></div><div class="">What eventually need is to have two different folders. One with the geonode core project, which I want modify and the other one with my_geonode project, in which I will apply changes.</div></div></div></div></div></div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Wed, Dec 19, 2018 at 5:27 PM Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de" class="">toni.schoenbuchner@csgis.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Hi Dimitris,<div class=""><br class=""></div><div class="">it sounds you´re a bit puzzled between 'geonode core‘ and geonode-project.</div><div class=""><br class=""></div><div class="">To understand better see whats happening with geonode-project:</div><div class=""><br class=""></div><div class="">It installs `geonode core` as dependency:</div><div class=""><span class="gmail-m_-7652561378637729052Apple-tab-span" style="white-space:pre-wrap"> </span><a href="https://github.com/GeoNode/geonode-project/blob/master/requirements.txt#L2" target="_blank" class="">https://github.com/GeoNode/geonode-project/blob/master/requirements.txt#L2</a></div><div class="">further loads/overwrites it´s settings:</div><div class=""><span class="gmail-m_-7652561378637729052Apple-tab-span" style="white-space:pre-wrap"> </span><a href="https://github.com/GeoNode/geonode-project/blob/master/project_name/settings.py#L30" target="_blank" class="">https://github.com/GeoNode/geonode-project/blob/master/project_name/settings.py#L30</a></div><div class=""><br class=""></div><div class="">Doing so we can overwrite things like templates etc. in Geonode-Project without touching</div><div class="">core files. </div><div class=""><br class=""></div><div class="">As a rule of thumb, if you´d like to commit changes to geonode core, create a fork of the upstream</div><div class="">repository, do your changes and create a PR.</div><div class=""><br class=""></div><div class="">I think in your case – as you´d like to modify <u class="">your</u> specific version – start by creating a geonode </div><div class="">project as described here (and ignore the first 'geonode core' dev setup):</div><div class=""><span class="gmail-m_-7652561378637729052Apple-tab-span" style="white-space:pre-wrap">   </span><a href="https://github.com/GeoNode/geonode-project#create-a-custom-project" target="_blank" class="">https://github.com/GeoNode/geonode-project#create-a-custom-project</a></div><div class=""><br class=""></div><div class="">I hope I did not misunderstood your question.</div><div class="">Happy geonod’ ing.</div><div class=""><br class=""></div><div class="">– Toni</div><div class=""><br class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><div class=""><div style="overflow-wrap: break-word;" class=""><div class=""><div class="">-----------------------------------------------</div><div class="">CSGIS</div><div class=""><br class=""></div><div class="">-----------------------------------------------</div><div class=""><div class="">Kolonnadenstraße 1</div><div class="">04109 Leipzig</div></div><div class="">-----------------------------------------------</div><div class="">Mobil<span class="gmail-m_-7652561378637729052Apple-tab-span" style="white-space:pre-wrap">   </span>+49/ (0) 176 6680 3198</div><div class="">Tel <span class="gmail-m_-7652561378637729052Apple-tab-span" style="white-space:pre-wrap">          </span>+49/ (0) 341 24 04 738</div><div class="">Fax <span class="gmail-m_-7652561378637729052Apple-tab-span" style="white-space:pre-wrap">          </span>+49/ (0) 341 24 04 73</div><div class="">Web<span class="gmail-m_-7652561378637729052Apple-tab-span" style="white-space:pre-wrap">         </span><a href="http://csgis.de/" target="_blank" class="">http://csgis.de</a></div><div class="">-----------------------------------------------</div><div class=""><br class=""></div><div class="">Hinweis gemäß § 33 BDSG</div><div class="">Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den </div><div class="">Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich </div><div class="">erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht </div><div class="">von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, </div><div class="">Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.</div></div></div></div></div></div></div></div>
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">----------------------------------------------------------------------<br class=""><br class="">Message: 1<br class="">Date: Wed, 19 Dec 2018 16:57:16 +0100<br class="">From: Dimitris Kar <<a href="mailto:dkarakostis@gmail.com" target="_blank" class="">dkarakostis@gmail.com</a>><br class="">To: geonode-devel <<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank" class="">geonode-devel@lists.osgeo.org</a>><br class="">Subject: [GeoNode-devel] Custom geonode project installation<br class="">Message-ID:<br class=""><span class="gmail-m_-7652561378637729052Apple-tab-span" style="white-space:pre-wrap">  </span><<a href="mailto:CAH4UFc99H4OuAxKUc+FhFZ=13gSJZDdMnH7Lj1=ec49Qg+6sgA@mail.gmail.com" target="_blank" class="">CAH4UFc99H4OuAxKUc+FhFZ=13gSJZDdMnH7Lj1=ec49Qg+6sgA@mail.gmail.com</a>><br class="">Content-Type: text/plain; charset="utf-8"<br class=""><br class="">Hello all,<br class=""><br class=""><br class="">I am trying following the instructions from this workshop (<br class=""><a href="http://geonode.org/dev-workshop/#/2" target="_blank" class="">http://geonode.org/dev-workshop/#/2</a>) in order to install GeoNode and a<br class="">GeoNode project. I have installed GeoNode in dev mode using a python<br class="">virtualenv + django development server method.<br class=""><br class="">Then I follow the instructions in order to create a geonode-project as<br class="">following:<br class=""><br class=""><br class=""><br class="">   1. cd ./geonode<br class="">   2. django-admin.py startproject wfp_geonode --template=<br class="">   <a href="https://github.com/GeoNode/geonode-project/archive/master.zip" target="_blank" class="">https://github.com/GeoNode/geonode-project/archive/master.zip</a> -e<br class="">   py,rst,json,yml,ini,env,sample -n Dockerfile wfp_geonode  (I executed<br class="">   this command without includong: -n Dockerfile wfp_geonode)<br class="">   3. workon geonode<br class="">   4. cd wfp_geonode<br class="">   5. pip install -e wfp_geonode<br class="">   6. cd ../geonode<br class="">   7. DJANGO_SETTINGS_MODULE=wfp_geonode.local_settings paver start<br class=""><br class=""><br class="">But when I actually run the command, I get the below command. If I am not<br class="">wrong, I remember, that I can not use geonode-project aside with a geonode<br class="">dev installation but this is not quite clear in the above workshop<br class="">presentation (see above link).<br class=""><br class=""><br class="">Did anyone had similar issues? Should I install a geonode for production<br class="">and use the geonode-project then?<br class=""></div></div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>