[GeoNode-users] Site_base.css is not found when theming

Simone Dalmasso simone.dalmasso at gmail.com
Thu Mar 10 12:38:02 PST 2016


Hi, the file should not be copied there but in /var/www, this means that
the MEDIA_ROOT of your settings is not correct or it's been overridden by
your geonode project. Did you set the variable somehow?

What type of installation did you do?

2016-03-10 17:10 GMT+01:00 Kevin Côté <Kevin.Cote2 at usherbrooke.ca>:

> Hi,
>
> I'm trying to customize the GeoNode page following the tutorial in the
> docs.
>
> I've updated the site_base.css file as explained, and did the "python
> manage.py collectstatic" command in my project folder.
>
> Then, I'm getting this message:
>
> " You have requested to collect static files at the destination
> location as specified in your settings:
>
> /usr/lib/python2.7/site-packages/geonode/static_root
>
> This will overwrite existing files!
> Are you sure you want to do this? "
>
> I answer 'yes' and then 2 files are copied to the /usr/lib/python2.7/site-packages/geonode/static_root
> (I'm guessing the site_base.css file and the logo). I restart the Apache
> server and when I access my localhost, I'm getting only the text of GeoNode
> site (no css are loaded).
>
> If I look at the source code of the page and click on the
> /static/site_base.css link, I'm getting a 404 error.
>
>
>
> Where does this problem comes from ? Do I need to set a path somewhere in
> a configuration file ?
>
>
>
> Thanks for your help !!!
>
>
>
> Kevin
>
>
>
>
>
>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>


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


More information about the geonode-users mailing list