librelist archives

« back to archive

small documentation glitch

small documentation glitch

From:
Reinier Battenberg
Date:
2011-11-15 @ 07:52
Hi,

I just installed geonode from the ubuntu packages and noticed that the 
printing configuration file is not in

/var/lib/geoserver/geonode-data/printing/config.yaml

but in

/var/lib/geoserver/geonode-data/gs-data/printing/config.yaml

As mentioned here:
http://docs.geonode.org/en/latest/deploy/production.html#configure-the-
printing-module

(this information is actually repeated more elaborately (and more technically) 
at the bottom of the page.)

Another small remark. The tip about the robots.txt file is very valuable. 
However it is not mentioned what the exact location should be of the 
robots.txt file. /robots.txt is the root of what?

http://docs.geonode.org/en/latest/deploy/production.html#robot-exclusion-file

In general, thought, the documentation is so much better already then 2 months 
ago. Thanks!

-- 
rgds,

Reinier Battenberg
Director
Mountbatten Ltd.
+256 758 801 749
www.mountbatten.net
http://twitter.com/batje
http://twitter.com/mapuganda

Re: [geonode] small documentation glitch

From:
David Winslow
Date:
2011-11-15 @ 16:04
On Tue, Nov 15, 2011 at 2:52 AM, Reinier Battenberg <
reinier.battenberg@mountbatten.net> wrote:

> **
>
> Hi,
>
>
> I just installed geonode from the ubuntu packages and noticed that the
> printing configuration file is not in
>
>
> /var/lib/geoserver/geonode-data/printing/config.yaml
>
>
> but in
>
>
> /var/lib/geoserver/geonode-data/gs-data/printing/config.yaml
>
>
> As mentioned here:
>
>
> 
http://docs.geonode.org/en/latest/deploy/production.html#configure-the-printing-module
>

I don't think this is true.  The installer sets GEOSERVER_DATA_DIR to
/var/lib/geoserver/geonode-data/.  The printing module looks for its
configuration in (GEOSERVER_DATA_DIR)/printing/config.yaml .  If the
installer is creating an extra gs-data/ directory inside the data directory
that is a bug (cc'ing Ariel in hopes he'll investigate) but the path in the
docs is right.  The wording there should probably be revised to reflect the
fact that GeoNode doesn't *have* to use that data directory path though...

--
David Winslow
OpenGeo - http://opengeo.org/

Re: [geonode] small documentation glitch

From:
Alex Mandel
Date:
2011-11-15 @ 08:25
On 11/14/2011 11:52 PM, Reinier Battenberg wrote:
> Hi,
> 
> I just installed geonode from the ubuntu packages and noticed that the 
> printing configuration file is not in
> 
> /var/lib/geoserver/geonode-data/printing/config.yaml
> 
> but in
> 
> /var/lib/geoserver/geonode-data/gs-data/printing/config.yaml
> 
> As mentioned here:
> http://docs.geonode.org/en/latest/deploy/production.html#configure-the-
> printing-module
> 
> (this information is actually repeated more elaborately (and more technically) 
> at the bottom of the page.)
> 
> Another small remark. The tip about the robots.txt file is very valuable. 
> However it is not mentioned what the exact location should be of the 
> robots.txt file. /robots.txt is the root of what?
> 
> http://docs.geonode.org/en/latest/deploy/production.html#robot-exclusion-file
> 
> In general, thought, the documentation is so much better already then 2 months 
> ago. Thanks!
> 

robots.txt should be in your apache root directory as specified in the
/etc/apache2/sites-available/geonode

So in the context of the packages I believe it's /var/www/geonode/htdocs/

That way if someone hits yoursite.org/robots.txt they get the file.

Enjoy,
Alex