[ckan-dev] [ckan-discuss] How to install extensions for a package installation?
Max Ludwig
maxe.ludwig at googlemail.com
Wed Sep 7 16:22:50 UTC 2011
Hey,
thanks for this really fast response!
I did everything what is said under "Prepare to Use Extensions". What
I don't understand: I installed the package (the DEB from your source
using apt-get). It runs very fine using apache+wsgi (I didn't even
have to deploy it). And now I have to create a python environment
somewhere else (in my case: /home/max/ckan)? How is that supposed to
work? I mean, how can ckan (installed using DEB package and lying
somewhere in /usr/share and /usr/lib and having its config files in
/etc/ckan) find these plugins installed in a virtual environment owned
by my user?
2011/9/6 David Read <david.read at okfn.org>
> Ok, I can help! Is it the wording that is the problem? Or maybe it's
> one of the steps:
> 1. Can you find the extension's "setup.py" file?
No. In step 1 it says /home/ubuntu/pyenv for the virtual environment
but in step 2 its ~/var/srvc/ckan.net/pyenv. I don't understand.
> 2. Can you find the name of the extension in the setup.py?
No.
> 3. Do you know which is your "CKAN config file"?
Yes. It is /etc/ckan/std/std.ini
> 4. Can you edit the "ckan.plugins" line to include the name of the extension?
Yes. But when I did this, the server crashes giving me a
"PluginNotFoundException: admin".
Maybe we can play the whole thing through using ckanext-admin (
https://bitbucket.org/okfn/ckanext-admin ) as example.
Max
More information about the ckan-dev
mailing list