[ckan-dev] installation of ckanext-storage
p.romain at cg33.fr
p.romain at cg33.fr
Wed May 25 08:44:28 UTC 2011
Hi Rufus and all,
Thanks for your answer.
I didi a pip install ckanext-storage and enabled the extension in my
*ckan*.ini file (ckan.plugins = storage )
However when I try to display the http://ckan:5000/storage/upload file I
get the same error TemplateNotFound: Template "ckanext/storage/index.html"
not found
Should I run the setup.py script contained in the ckanext-storage folder ?
I have the following development setup :
/home/user/pyenv/src/ckanext-storage
/home/user/pyenv/src/ckan : the folder from which I issue the paster serve
local.ckan.ini command
Best,
Pascal
Rufus Pollock <rufus.pollock at okfn.org>
Envoyé par : okfn.rufus.pollock at gmail.com
24/05/2011 10:43
Veuillez répondre à
rufus.pollock at okfn.org
A
p.romain at cg33.fr
cc
CKAN Development Discussions <ckan-dev at lists.okfn.org>
Objet
Re: installation of ckanext-storage
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 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
__________________________________________________________________
Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Ce message ne constitue pas un document officiel. Seuls les documents revêtus de la signature du Président du Conseil Général ou d'un de ses délégataires sont de nature à engager le Département.
Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération et le Département de la Gironde décline toute responsabilité au titre de ce message s'il a été altéré, déformé, falsifié.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20110525/6e451085/attachment-0001.html>
More information about the ckan-dev
mailing list