Put install instructions of test tools into separate docs/ markdown file

This commit is contained in:
marc tobias
2020-06-20 03:48:07 +02:00
parent d373f16c81
commit 2e5bdb8794
11 changed files with 126 additions and 117 deletions

View File

@@ -48,18 +48,6 @@
pip3 install --user psycopg2 pytidylib
# If you want to run the test suite, you need to install the following
# additional packages:
#DOCS: :::sh
sudo yum install -y php-dom php-mbstring
pip3 install --user behave nose
composer global require "squizlabs/php_codesniffer=*"
sudo ln -s ~/.config/composer/vendor/bin/phpcs /usr/bin/
composer global require "phpunit/phpunit=7.*"
sudo ln -s ~/.config/composer/vendor/bin/phpunit /usr/bin/
#
# System Configuration
@@ -214,4 +202,4 @@ EOF
# Nominatim is now ready to use. Continue with
# [importing a database from OSM data](../admin/Import-and-Update.md).
# [importing a database from OSM data](../admin/Import.md).

View File

@@ -41,18 +41,6 @@
pip3 install --user psycopg2 pytidylib
# If you want to run the test suite, you need to install the following
# additional packages:
#DOCS: :::sh
sudo dnf install -y php-dom php-mbstring
pip3 install --user behave nose
composer global require "squizlabs/php_codesniffer=*"
sudo ln -s ~/.config/composer/vendor/bin/phpcs /usr/bin/
composer global require "phpunit/phpunit=^7"
sudo ln -s ~/.config/composer/vendor/bin/phpunit /usr/bin/
#
# System Configuration
@@ -208,4 +196,4 @@ EOF
# Nominatim is now ready to use. Continue with
# [importing a database from OSM data](../admin/Import-and-Update.md).
# [importing a database from OSM data](../admin/Import.md).

View File

@@ -33,18 +33,6 @@ export DEBIAN_FRONTEND=noninteractive #DOCS:
php-intl python3-setuptools python3-dev python3-pip \
python3-psycopg2 python3-tidylib git
# If you want to run the test suite, you need to install the following
# additional packages including the PHP package manager composer:
pip3 install --user behave nose
sudo apt-get install -y composer php-cgi php-cli php-mbstring php-xml zip unzip
composer global require "squizlabs/php_codesniffer=*"
sudo ln -s ~/.config/composer/vendor/bin/phpcs /usr/bin/
composer global require "phpunit/phpunit=8.*"
sudo ln -s ~/.config/composer/vendor/bin/phpunit /usr/bin/
#
# System Configuration
@@ -173,4 +161,4 @@ EOF
# Nominatim is now ready to use. Continue with
# [importing a database from OSM data](../admin/Import-and-Update.md).
# [importing a database from OSM data](../admin/Import.md).

View File

@@ -35,12 +35,6 @@ export DEBIAN_FRONTEND=noninteractive #DOCS:
php-intl python3-setuptools python3-dev python3-pip \
python3-psycopg2 python3-tidylib git
# If you want to run the test suite, you need to install the following
# additional packages:
sudo apt-get install -y phpunit php-codesniffer php-cgi
pip3 install --user behave nose
#
# System Configuration
# ====================
@@ -168,4 +162,4 @@ EOF
# Nominatim is now ready to use. Continue with
# [importing a database from OSM data](../admin/Import-and-Update.md).
# [importing a database from OSM data](../admin/Import.md).