From cf32da374898282f26a3147fa8e8a79abc1c9347 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 16 Sep 2017 22:11:39 +0200 Subject: [PATCH] docs: add more requirements for running tests --- docs/Install-on-Centos-7.md | 1 + docs/Install-on-Ubuntu-16.md | 4 +++- vagrant/Install-on-Ubuntu-16.sh | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/Install-on-Centos-7.md b/docs/Install-on-Centos-7.md index 35200d6f..5156fa02 100644 --- a/docs/Install-on-Centos-7.md +++ b/docs/Install-on-Centos-7.md @@ -160,6 +160,7 @@ download the country grid: The code must be built in a separate directory. Create this directory, then configure and build Nominatim in there: + mkdir build cd build cmake $USERHOME/Nominatim diff --git a/docs/Install-on-Ubuntu-16.md b/docs/Install-on-Ubuntu-16.md index 322a476a..849e00b9 100644 --- a/docs/Install-on-Ubuntu-16.md +++ b/docs/Install-on-Ubuntu-16.md @@ -32,7 +32,8 @@ Now you can install all packages needed for Nominatim: If you want to run the test suite, you need to install the following additional packages: - sudo apt-get install -y python3-dev python3-pip python3-psycopg2 python3-tidylib phpunit + sudo apt-get install -y python3-setuptools python3-dev python3-pip \ + python3-psycopg2 python3-tidylib phpunit php-cgi pip3 install --user behave nose # urllib3 sudo pear install PHP_CodeSniffer @@ -147,6 +148,7 @@ download the country grid: The code must be built in a separate directory. Create this directory, then configure and build Nominatim in there: + mkdir build cd build cmake $USERHOME/Nominatim diff --git a/vagrant/Install-on-Ubuntu-16.sh b/vagrant/Install-on-Ubuntu-16.sh index 28e38be9..9c58d063 100755 --- a/vagrant/Install-on-Ubuntu-16.sh +++ b/vagrant/Install-on-Ubuntu-16.sh @@ -33,7 +33,8 @@ export DEBIAN_FRONTEND=noninteractive #DOCS: # If you want to run the test suite, you need to install the following # additional packages: - sudo apt-get install -y python3-dev python3-pip python3-psycopg2 python3-tidylib phpunit + sudo apt-get install -y python3-setuptools python3-dev python3-pip \ + python3-psycopg2 python3-tidylib phpunit php-cgi pip3 install --user behave nose # urllib3 sudo pear install PHP_CodeSniffer -- 2.39.5