X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/676c5659054f2c3a271abaec87bb165b8a1742de..5c187e131a372d0cbdbba3372668862e3f1c47f9:/VAGRANT.md diff --git a/VAGRANT.md b/VAGRANT.md index e6a0fbb3..cd3ed311 100644 --- a/VAGRANT.md +++ b/VAGRANT.md @@ -45,11 +45,12 @@ 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 2>&1 | tee monaco.$$.log - ./utils/specialphrases.php --countries > data/specialphrases_countries.sql - psql -d nominatim -f data/specialphrases_countries.sql + 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 + ./utils/specialphrases.php --countries > ../data/specialphrases_countries.sql + psql -d nominatim -f ../data/specialphrases_countries.sql ``` To repeat an import you'd need to delete the database first