Hello there,

We've been starting to work with GeoNode here, and this is my first
post, although I met some of you at FOSS4G this year.  I'd introduce
our project, but right now there is no public site.   We're using
GeoNode in a multi-site configuration, which means utilizing the
Django Sites framework and tweaking GeoNode to use it.   I've got a
basic multi-site config running in Production on Apache, and am trying
to get my development environment matched up, however paster, and
static and media URL's are giving me some heartburn (I'm using
family-friendly language here).

The plethora of file location variables is rather daunting:
STATIC_URL, STATICFILES_DIR, MEDIA_URL, GEONODE_CLIENT_LOC, ADMIN,
etc. and certainly has caused me lots of confusion.    The problem I
was having is when I changed STATIC_URL, my development server was
unable to find the static files.   With Apache I've got no problem as
it's easy enough to change to whatever I wish.  But with paster I'm
unable to make any sense out of the shared/dev-paste.ini file.    The
syntax in it doesn't match up with the paster online documentation.
To be more specific, the app:static config block doesn't set
document_root like the documentation says must be provided.   It
instead gives

egg=GeoNode
resource_name=GeoNode/static

There's reference to resource_name in paste.urlparser, but no examples
of a configuration file using the syntax above.   Obviously paster is
setting the server settings somewhere, but I can't for the life of me
figure out where.    I just want to be able to change some of my
settings variables for locations of things, but seems like the
development environment has hardcoded some things somewhere.

Any insight?

Thanks in advance,

Matthew Hanson
Applied GeoSolutions
http://www.appliedgeosolutions.com

Reply via email to