[GeoNode-users] Geosites installation error

Eugenio Trumpy frippe12573 at hotmail.com
Wed Apr 26 00:26:15 PDT 2017


Hi Fosco,


I proposed some changes in the Geosites README file. Those are not yet validated,

however you can take a look to the file, probably it can help,


see: https://github.com/GeoNode/geonode/pull/3009/files/c8a8af3cdc23f06c9ccff666da6c461e4132349f#diff-bad3866b9b5ac9dba9a71d8a4f09428b


cheers


Eugenio




________________________________
Da: geonode-users <geonode-users-bounces at lists.osgeo.org> per conto di Simone Dalmasso <simone.dalmasso at gmail.com>
Inviato: lunedì 24 aprile 2017 19.29
A: Fosco Ventura
Cc: geonode-users at lists.osgeo.org
Oggetto: Re: [GeoNode-users] Geosites installation error

in your project's dir is fine. It works like any django project, if you take a look at the django tutorial you can find very similar setups.

2017-04-24 19:28 GMT+02:00 Fosco Ventura <foscone at gmail.com<mailto:foscone at gmail.com>>:
And I have to copy site-template in dir/dir/contrib/geosites or only in dir/dir like in this guide https://github.com/terranodo/landscapeportal ?

2017-04-24 18:07 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com<mailto:simone.dalmasso at gmail.com>>:
Hi,

geonode-project is just a template, all you may need you can copy into it. In this case just copy the site-template either from githiub or your geonode installation (you can search for it and copy) and rename accordingly.

2017-04-24 16:52 GMT+02:00 Fosco Ventura <foscone at gmail.com<mailto:foscone at gmail.com>>:
Hi Simone,
I am trying to use geonode-project as base template. For single site it works fine but I do not understand how to set it as a multisite. In geonode-project template there are not all files mentioned in the geosites guides.
For example in this Eugenio's comment https://github.com/GeoNode/geonode/commit/740af85ab5654cee3d27b6611b74c39687a4187c#commitcomment-21731291 I need site_template in contrib directory but in geonode-project template there isn't.
How can I do?
Thanks.
Fosco


2017-04-21 12:41 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com<mailto:simone.dalmasso at gmail.com>>:
No don't need to checkout another geonode or delete the settings in etc. I suggest you to start from here https://github.com/GeoNode/geonode-project and once you have it set up then you can create your own settings with geosites enabled and make your own geosites in it.

2017-04-21 12:31 GMT+02:00 Fosco Ventura <foscone at gmail.com<mailto:foscone at gmail.com>>:
Ok, I have installed geonode 2.6 like quick installation tells, then I deleted /etc/geonode to replace it with git clone https://github.com/GeoNode/geonode, is it right?
I have duplicated /geonode/geonode/contrib/geosites/site_template whit a new name.

Now I would like to have:
- www.example.com/site1<http://www.example.com/site1>
- www.example.com/site2<http://www.example.com/site2>
so I go to www.example.com/admin/sites/site/<http://www.example.com/admin/sites/site/> and add site1 and site2

Now have I to edit /etc/apache2/sites-enabled/geonode.conf? In which way?

I did:
WSGIDaemonProcess new_name_site_template user=www-data threads=15 processes=2
<VirtualHost *:80>
   ...
   DocumentRoot /etc/geonode/geonode/contrib/geosites/
   ...
   WSGIProcessGroup fosco_geosites
   WSGIScriptAlias / /etc/geonode/geonode/contrib/geosites/new_name_site_template/wsgi.py
...
but doesn't work.
Where am I wrong?
Thanks.
Fosco



2017-04-19 17:43 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com<mailto:simone.dalmasso at gmail.com>>:
Hi,

no you don't need a development installation, you can achieve the same using a standard apt geonode installation or a geonode-project.

Unfortunately the documentation for geosites is a bit outdated but you can make it work even without any automatic script. I suggest you to take a look at the geonode repo as geosites is now part of it as a contrib app (optional and less maintained) https://github.com/GeoNode/geonode/tree/2.6.x/geonode/contrib/geosites and the geonode homepage and docs for the installation http://www.geonode.org.

In order to use geosites you will have to understand the basics of django projects, nothing too tricky though.
Recently Eugenio made some interesting comments on the geosites doc that could help you, see here https://github.com/GeoNode/geonode/commit/740af85ab5654cee3d27b6611b74c39687a4187c#commitcomment-21731038

hope this helps

2017-04-19 17:23 GMT+02:00 Fosco Ventura <foscone at gmail.com<mailto:foscone at gmail.com>>:
Hi, I'm trying to install geosites.
I followed this guide for ubuntu development installation: https://github.com/simod/geonode#ubuntu
and then this guide for geosites: https://github.com/terranodo/geosites-project/blob/master/GEOSITES-README.md

I realized that to have geosites I have to do development installation, is it true?

When I give bash ./setup.sh example.org<http://example.org> I have this error:
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8XOXyi/Paver/

I looked for directory pip-build-8XOXyi but doesn't exist.

Is this command the same of geonode-updateip for standard installation? Can I give bash ./setup.sh IP instead of example.org<http://example.org>?
Thanks
Fosco

--
Fosco
http://studiotypo.it/
http://www.studiotypo.it/fosco/

_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-users




--
Simone



--
Fosco
http://studiotypo.it/
http://www.studiotypo.it/fosco/



--
Simone



--
Fosco
http://studiotypo.it/
http://www.studiotypo.it/fosco/



--
Simone



--
Fosco
http://studiotypo.it/
http://www.studiotypo.it/fosco/



--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170426/08017172/attachment-0003.html>


More information about the geonode-users mailing list