X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/23a53661e05761a475a5f032755cca148df24682..0df8a4e24f6129d3c2389d7cfc3f0515efb2f6f4:/VAGRANT.md?ds=sidebyside diff --git a/VAGRANT.md b/VAGRANT.md index 26b0ee75..c662d5e4 100644 --- a/VAGRANT.md +++ b/VAGRANT.md @@ -38,7 +38,8 @@ is. 3. Import a small country (Monaco) - You need to give the virtual machine more memory (2GB) for an import, see `Vagrantfile`. + You need to give the virtual machine more memory (2GB) for an import, + see `Vagrantfile`. Otherwise 1GB is enough. See the FAQ how to skip this step and point Nominatim to an existing database. @@ -46,7 +47,7 @@ is. # inside the virtual machine: cd Nominatim wget --no-verbose --output-document=data/monaco.osm.pbf http://download.geofabrik.de/europe/monaco-latest.osm.pbf - utils/setup.php --osm-file data/monaco.osm.pbf --osm2pgsql-cache 1000 --all | tee monaco.$$.log + ./utils/setup.php --osm-file data/monaco.osm.pbf --osm2pgsql-cache 1000 --all 2>&1 | tee monaco.$$.log ./utils/specialphrases.php --countries > data/specialphrases_countries.sql psql -d nominatim -f data/specialphrases_countries.sql ``` @@ -102,8 +103,8 @@ and then ## Running unit tests - cd ~/Nominatim/tests - phpunit + cd ~/Nominatim/tests-php + phpunit ./