X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a793f698f3162866d73e64af1a757fc0348660be..760807c5e04c427d8df616991b18c78f72a10b04:/VAGRANT.md diff --git a/VAGRANT.md b/VAGRANT.md index 56a63432..41d3024e 100644 --- a/VAGRANT.md +++ b/VAGRANT.md @@ -43,17 +43,17 @@ is. See the FAQ how to skip this step and point Nominatim to an existing database. - ``` - # inside the virtual machine: - mkdir data - cd build - 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 2>&1 | tee monaco.$$.log - ``` + ``` + # inside the virtual machine: + mkdir data + cd build + 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 2>&1 | tee monaco.$$.log + ``` - To repeat an import you'd need to delete the database first + To repeat an import you'd need to delete the database first - dropdb -if-exists nominatim + dropdb --if-exists nominatim @@ -102,7 +102,7 @@ and then ## Running unit tests - cd ~/Nominatim/tests-php + cd ~/Nominatim/tests/php phpunit ./