[ckan-dev] Changing background image on new CKAN install
Toby Dacre
toby.okfn at gmail.com
Wed Jul 17 09:29:21 UTC 2013
On 17 July 2013 03:25, Aaron McGlinchy
<McGlinchyA at landcareresearch.co.nz> wrote:
> 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.
It is recommended to add your own css via the custom.less file not to
change the base files
> Updating the
> less requires 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.
>
This is because it is polling the less files and will recompile the
css when changes are made. This is a feature used in development.
>
>
> 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
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
--
Toby Dacre
The Open Knowledge Foundation
Empowering through Open Knowledge
http://okfn.org/ | @okfn
More information about the ckan-dev
mailing list