X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/797c2d1e74a14d8d52d963f1efad9be53fca5f5f..deca74bc3aace543d425670f2d4af92c8e564220:/VAGRANT.md diff --git a/VAGRANT.md b/VAGRANT.md index cd3ed311..c24717a1 100644 --- a/VAGRANT.md +++ b/VAGRANT.md @@ -17,7 +17,7 @@ is. 3. Nominatim - git clone --recursive https://github.com/twain47/Nominatim.git + git clone --recursive https://github.com/openstreetmap/Nominatim.git If you haven't used `--recursive`, then you can load the submodules using @@ -43,17 +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 - ./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 + ``` + # 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