Permalink
Browse files

Install dependencies in run_tests.sh and improve README

  • Loading branch information...
1 parent 76a920d commit 7824209328287c5ae020b1ddf304302cb4737db4 @robyoung robyoung committed Feb 28, 2013
Showing with 5 additions and 2 deletions.
  1. +2 −2 README.md
  2. +3 −0 run_tests.sh
View
@@ -16,7 +16,7 @@ Would you like a crontab to collect data each month?
This assumes you are using the GDS dev environment and so have python and mongo installed.
0. Check that you have virtualenv installed, if not ```sudo apt-get install python-virtualenv```.
-1. Navigate to the ```performance-platform``` directory and run ```./run_tests.sh``` this will
-create a new virtualenv and install the production and test requirements and run the tests.
+1. Navigate to the ```performance-platform``` directory and run ```./run_tests.sh```. This will
+create a new virtualenv, install all dependencies and run the tests.
2. ```source venv/bin/activate``` to enable the virtualenv.
View
@@ -23,6 +23,9 @@ virtualenv --no-site-packages "$basedir/venv"
source "$basedir/venv/bin/activate"
+pip install -r requirements.txt
+pip install -r requirements_for_tests.txt
+
nosetests -v
display_result $? 1 "Unit tests"

0 comments on commit 7824209

Please sign in to comment.