[ckan-dev] Changing background image on new CKAN install

Henrik Aagaard Sørensen BU1G at tmf.kk.dk
Wed Jul 17 06:36:55 UTC 2013


I ussualy run:
/bin/less
And exit with ctrl-c

Then I run:
paster --plugin=ckan minify ckan/public/base/css --config=/etc/ckan/default/production.ini

Then:
bin/less --production

Fra: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] På vegne af Aaron McGlinchy
Sendt: 17. juli 2013 04:26
Til: ckan-dev at lists.okfn.org
Emne: [ckan-dev] Changing background image on new CKAN install

Hi, we have recently installed CKAN 2.0, and are tweaking it a bit.  One thing we want to do is replace the default (grey chequered) background image.

I provided a new image to my IT guy and asked him to implement the change, however he has come back to me with an issue:

I have updated the homepage.less to use the new background.  Updating the less requires<http://docs.ckan.org/en/latest/frontend-development.html#stylesheets> a recompile of the css.  I have installed everything required and the final command bin/less gives the following output:

Watching /usr/lib/ckan/default/src/ckan/ckan/public/base/less
[2013-07-17 01:35:03] recompiled main.css in 1345ms

The command never exits so it seems like its stuck in an infinite loop.

I have attached part of the puppet script that installs the necessary components and runs the commands for recompiling the less files.  Note, I am using the latest node.js from ppa:chris-lea/node.js.  Which is added outside of the code I provided.

This is code for adding the node.js ppa.
  apt::ppa { 'ppa:chris-lea/node.js': }
---
Do you have any suggestions?

Thanks
Aaron

________________________________

Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130717/0b1ec7a8/attachment-0001.html>


More information about the ckan-dev mailing list