X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3a696e1895ccd87ea03c16412870003630f3e23f..bdd90e890b44b12a9d46cc3b80de56bfa12af8fa:/VAGRANT.md diff --git a/VAGRANT.md b/VAGRANT.md index 56a63432..c24717a1 100644 --- a/VAGRANT.md +++ b/VAGRANT.md @@ -43,15 +43,15 @@ 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 - ``` - - To repeat an import you'd need to delete the database first + ``` + # 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 dropdb -if-exists nominatim