Skip to content

Commit

Permalink
[release-v1.5.1][doc][s]: Tidy up of docs. Upgrade now covered in ins…
Browse files Browse the repository at this point in the history
…tall-from-package.rst. ckanclient dependency was not mentioned for tests - solved by using pip-requirements-test.txt. SOLR Core directories needed making.
  • Loading branch information
David Read committed Jan 4, 2012
1 parent 973e61e commit 4a8ad10
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 28 deletions.
5 changes: 4 additions & 1 deletion doc/solr-setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ This is how cores are defined::
</solr>

Note that each core has its own data directory. This is really important to
prevent conflicts between cores.
prevent conflicts between cores. Create them like this::

sudo mkdir /var/lib/solr/data/core0
sudo mkdir /var/lib/solr/data/core1

For each core, we will create a folder with its name in `/usr/share/solr`,
with a symbolic link to a specific configuration folder in `/etc/solr/`.
Expand Down
4 changes: 2 additions & 2 deletions doc/test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Make sure you've created a config file at ``pyenv/ckan/development.ini``. Then a

. pyenv/bin/activate

Install nose into your virtual environment::
Install nose and other test-specific dependencies into your virtual environment::

pip install --ignore-installed nose
pip install --ignore-installed -r pyenv/src/ckan/pip-requirements-test.txt

At this point you will need to deactivate and then re-activate your
virtual environment to ensure that all the scripts point to the correct
Expand Down
25 changes: 0 additions & 25 deletions doc/upgrade.rst

This file was deleted.

1 change: 1 addition & 0 deletions pip-requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# These are packages that required when running ckan tests

nose
-e hg+https://bitbucket.org/okfn/ckanclient#egg=ckanclient

0 comments on commit 4a8ad10

Please sign in to comment.