X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/051998dd80b0def50058266b7adbdf2e971032eb..dba5b2f86e3b91eade86a851932004a56b34134e:/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