Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to use virtualenvwrapper for ckan development?
    primarykey
    data
    text
    <p>Using virtualenvwrapper to develop on the CKAN project is a bit more complex than the simple workflow that you would get from the <a href="http://www.doughellmann.com/docs/virtualenvwrapper/" rel="nofollow">virtualenvwrapper introduction</a>, i.e. just doing <code>mkvirtualenv ckan</code>, following the <a href="http://docs.ckan.org/en/latest/install-from-source.html" rel="nofollow">CKAN source install instructions</a> to install CKAN into your virtualenv, and then hacking away on CKAN.</p> <p>If I understand the virtualenvwrapper docs correctly, it's better to use the <code>mkproject ckan</code> command so that you have a virtualenv called ckan hidden away in your <code>WORKON_HOME</code> (<code>~/.virtualenvs</code> by default) and a nice, tidy project dir called ckan in your <code>PROJECT_HOME</code> (<code>~/Projects</code> on my machine) that contains only the source code repos that you're actually working on, and isn't cluttered with all the other files that go into the virtualenv. But the project management docs for virtualenvwrapper aren't very detailed..</p> <p>If I do <code>mkproject ckan</code> and then proceed to follow the ckan source install instructions, the <code>pip install --ignore-installed -e git+https://github.com/okfn/ckan.git#egg=ckan</code> command installs the ckan git repo at <code>~/.virtualenvs/ckan/src/ckan</code> rather than in my <code>~/Projects/ckan</code> dir where I want it. How to get the ckan git repo to be in my project dir?</p> <p>I'm also going to want to hack on different CKAN extensions (some of which come in their own separate git repos) as part of the same virtualenvwrapper project, so I want virtualenvwrapper to install those in <code>~/Projects/ckan</code> as well.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload