From 9ed808b81c908775b9c6e7b9c570707cdc97d5d1 Mon Sep 17 00:00:00 2001 From: Sean Hammond Date: Wed, 21 Nov 2012 14:46:58 +0100 Subject: [PATCH] Add a step to the source install docs It seems it's sometimes necessary to deactivate and reactivate your virtualenv after installing everything, to get the copy of paster right. --- doc/install-from-source.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/install-from-source.rst b/doc/install-from-source.rst index 74ba4334b79..172c3ae31b3 100644 --- a/doc/install-from-source.rst +++ b/doc/install-from-source.rst @@ -66,6 +66,13 @@ c. Install the Python modules that CKAN requires into your virtualenv:: pip install -r ~/pyenv/src/ckan/pip-requirements.txt +d. Deactivate and reactivate your virtualenv, to make sure you're using the + virtualenv's copies of commands like ``paster`` rather than any system-wide + installed copies:: + + deactivate + . ~/pyenv/bin/activate + 3. Setup a PostgreSQL database ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~