[ckan-dev] Recreate Minified JavaScript

Thodoris Papadopoulos thodoris at thodoris.net
Tue Mar 26 13:29:01 UTC 2013


The problem was that we were editing the resources.config which was placed
inside [extra_public_paths] folder.
Actually , the idea was to have an exact copy of src/ckan/ckan/public to
[extra_public_paths] folder , and apply any changes there.
Does anybody know why it didn't work ?

Thanks
Thodoris



On Tue, Mar 26, 2013 at 3:02 PM, Thodoris Papadopoulos <
thodoris at thodoris.net> wrote:

> Hello ,
>
> We have a similar problem.
> We have modified resources.config file and added some extra javascripts
> (jquery UI etc...) .
> The problems is that the changes to resources.config are not reflected to
> the html output.
> Any ideas ?
>
> Thanks
> Thodoris
>
>
>
>
> On Tue, Feb 12, 2013 at 11:52 AM, Sean Hammond <sean.hammond at okfn.org>wrote:
>
>> > CKAN is using Fanstatic to organize the JavaScript and create minified
>> > version of those script files.  How can I recreate those minified
>> > files?
>>
>> There is a `paster minify` command with ckan that creates the minified
>> css and js files from the source ones.
>>
>> Generally we don't update the minified css and javascript files each
>> time we change the source files on a development branch, so if you're
>> going to deploy a development branch in production you do need to run
>> `paster minify` yourself.
>>
>> _______________________________________________
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130326/d0e55caa/attachment-0001.html>


More information about the ckan-dev mailing list