[ckan-dev] installation of ckanext-storage
Rufus Pollock
rufus.pollock at okfn.org
Tue May 24 08:43:05 UTC 2011
Hi Pascal,
cc'ing the ckan-dev list.
On 23 May 2011 17:38, <p.romain at cg33.fr> wrote:
>
> Hi,
>
> Thanks for developing such a great tool ! I am struggling with the lack of
> documentation but I don't give up :)
We're working hard right now to improve the docs so I hope your struggle
with not be in vain.
I am trying to install the ckanext-storage extension but I feel that the
> documentation provided is missing a few points
> I did first easy_install ckanext-storage
>
> I run <http://www.opendefinition.org/okd/>CKAN 1.4.1a. For testing
> purposes I have only enabled ckan.plugins = storage
> I then launch my local ckan repo and went to
> http://srvmv-celine:5000/storage/upload but I have an error page
> TemplateNotFound: Template "ckanext/storage/index.html" not found
> So I believe it is necessary to do a hg clone
> https://bitbucket.org/okfn/ckanext-storage
That's right -- or you could install the python package: pip install
ckanext-storage. I apologize for leaving that out of the installation
instructions -- it was such an obvious step I'd forgotten about it!
> I found the template files and moved them to my templates folder
> {ckan}/templates but it is still not working.
You don't want to move them -- leave them in the original location.
I am missing something ?
I think you should not move the templates.
> Also you give an example for google storage
> # this is for google storage
> ofs.impl = google
> ofs.gs_access_key_id = GOOGCABCDASDASD
> ofs.gs_secret_access_key = 134zsdfjkw4234addad
>
> But I would like to store my files locally. I guss I have to look into the
> ofs documentation, right ?
I've just responded to a similar question here:
<http://lists.okfn.org/pipermail/ckan-discuss/2011-May/001279.html>
Basic answer: you can configure this differently but we'll need to make some
minor changes to support uploading to local file storage via CKAN.
Rufus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20110524/bfa3b735/attachment-0001.html>
More information about the ckan-dev
mailing list