<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="">Hi Dimitris,<div class=""><br class=""></div><div class="">have you run </div><div class=""><span style="font-family: ArialMT;" class=""><br class=""></span></div><div class=""><span style="font-family: ArialMT;" class="">DJANGO_SETTINGS_MODULE=wfp_geonode.local_settings paver setup</span></div><div class=""><span style="font-family: ArialMT;" class=""><br class=""></span></div><div class=""><span style="font-family: ArialMT;" class="">this should download and create geoserver dependencies.</span></div><div class=""><span style="font-family: ArialMT;" class=""><br class=""></span></div><div class=""><span style="font-family: ArialMT;" class="">Cheers,</span></div><div class=""><span style="font-family: ArialMT;" class=""><br class=""></span></div><div class=""><span style="font-family: ArialMT;" class="">Toni</span></div><div class=""><br class=""><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 02.01.2019 um 11:56 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="">Hello Toni, <div class=""><br class=""></div><div class="">At last I found some time to try your instructions for installing the geonode-project. Everything was installed successfully but when I try to execute the paver commands I get certain errors. </div><div class=""><br class=""></div><div class="">More specifically - after enabling the local_settings -  when I run:</div><div class=""><br class=""></div><div class="">DJANGO_SETTINGS_MODULE=wfp_geonode.local_settings paver start<br class=""></div><div class=""><br class=""></div><div class="">I get</div><div class=""><br class=""></div><div class=""><div class="">---> pavement.start</div><div class="">---> pavement.start_geoserver</div><div class="">cd /vagrant/wfp_geonode/geoserver/data</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Captured Task Output:</div><div class="">---------------------</div><div class=""><br class=""></div><div class="">---> pavement.start</div><div class="">---> pavement.start_geoserver</div><div class="">cd /vagrant/wfp_geonode/geoserver/data</div><div class="">Traceback (most recent call last):</div><div class="">  File "/home/ubuntu/Envs/wfp_geonode/local/lib/python2.7/site-packages/paver/tasks.py", line 196, in _run_task</div><div class="">    return do_task()</div><div class="">  File "/home/ubuntu/Envs/wfp_geonode/local/lib/python2.7/site-packages/paver/tasks.py", line 192, in do_task</div><div class="">    task()</div><div class="">  File "/home/ubuntu/Envs/wfp_geonode/local/lib/python2.7/site-packages/paver/tasks.py", line 321, in __call__</div><div class="">    retval = environment._run_task(<a href="http://self.name/" class="">self.name</a>, self.needs, self.func)</div><div class="">  File "/home/ubuntu/Envs/wfp_geonode/local/lib/python2.7/site-packages/paver/tasks.py", line 214, in _run_task</div><div class="">    return do_task()</div><div class="">  File "/home/ubuntu/Envs/wfp_geonode/local/lib/python2.7/site-packages/paver/tasks.py", line 193, in do_task</div><div class="">    return func(**kw)</div><div class="">  File "pavement.py", line 667, in start_geoserver</div><div class="">    with pushd(data_dir):</div><div class="">  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__</div><div class="">    return self.gen.next()</div><div class="">  File "/home/ubuntu/Envs/wfp_geonode/local/lib/python2.7/site-packages/paver/path.py", line 39, in pushd</div><div class="">    os.chdir(dir)</div><div class="">OSError: [Errno 2] No such file or directory: '/vagrant/wfp_geonode/geoserver/data'</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">It seems like it can not find the geoserver folder. And in fact there is no geoserver folder under the wfp_geonode installation:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">dev_config.yml <span class="gmail-Apple-converted-space">              </span>Dockerfile<span class="gmail-Apple-converted-space">      </span>jetty-runner.xml<span class="gmail-Apple-converted-space">  </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b class="">package</b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">/<span class="gmail-Apple-converted-space">      </span>README.rst<span class="gmail-Apple-converted-space">        </span>setup.py <span class="gmail-Apple-converted-space">  </span>wait-for-databases.sh</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">docker-compose.override.yml<span class="gmail-Apple-converted-space">  </span></span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b class="">entrypoint.sh</b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">*<span class="gmail-Apple-converted-space">  </span>Makefile<span class="gmail-Apple-converted-space">          </span>pavement.py <span class="gmail-Apple-converted-space">  </span>requirements.txt<span class="gmail-Apple-converted-space">  </span>tasks.py <span class="gmail-Apple-converted-space">  </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b class="">wfp_geonode</b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">/</span></div><div style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">docker-compose.yml <span class="gmail-Apple-converted-space">          </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b class="">fixtures</b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">/ <span class="gmail-Apple-converted-space">      </span></span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)"><b class="">manage.py</b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">*<span class="gmail-Apple-converted-space">        </span>playbook.yml<span class="gmail-Apple-converted-space">  </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b class="">scripts</b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">/<span class="gmail-Apple-converted-space">          </span>uwsgi.ini<span class="gmail-Apple-converted-space">  </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(64,11,217)"><b class="">wfp_geonode.egg-info</b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">/</span></div></div><div class=""><br class=""></div><div class="">Do you have any clue, what could be the problem?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;margin-bottom:0px;margin-top:0px;background-color:rgb(246,248,250);border-radius:3px;line-height:1.45;overflow:auto;padding:16px;word-break:normal;color:rgb(106,115,125)" class=""><br class=""></pre><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;margin-bottom:0px;margin-top:0px;background-color:rgb(246,248,250);border-radius:3px;line-height:1.45;overflow:auto;padding:16px;word-break:normal;color:rgb(106,115,125)" class=""><br class=""></pre><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;margin-bottom:0px;margin-top:0px;background-color:rgb(246,248,250);border-radius:3px;line-height:1.45;overflow:auto;padding:16px;word-break:normal;color:rgb(106,115,125)" class=""><br class=""></pre><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;margin-bottom:0px;margin-top:0px;background-color:rgb(246,248,250);border-radius:3px;line-height:1.45;overflow:auto;padding:16px;word-break:normal;color:rgb(106,115,125)" class=""><br class=""></pre></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></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_-1526161433802149472Apple-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_-1526161433802149472Apple-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_-1526161433802149472Apple-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_-1526161433802149472Apple-tab-span" style="white-space:pre-wrap">   </span>+49/ (0) 176 6680 3198</div><div class="">Tel <span class="gmail-m_-1526161433802149472Apple-tab-span" style="white-space:pre-wrap">          </span>+49/ (0) 341 24 04 738</div><div class="">Fax <span class="gmail-m_-1526161433802149472Apple-tab-span" style="white-space:pre-wrap">          </span>+49/ (0) 341 24 04 73</div><div class="">Web<span class="gmail-m_-1526161433802149472Apple-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_-1526161433802149472Apple-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>