X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5dea0658e4ec78051e1bf269690352e00f3d8759..bce11a5fc7a8ac94defb4e0113204f1a1508180e:/VAGRANT.md?ds=sidebyside diff --git a/VAGRANT.md b/VAGRANT.md index 6a680b53..7a891f1c 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,18 @@ 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 -O /home/vagrant/Nominatim/data/country_osm_grid.sql.gz http://www.nominatim.org/data/country_grid.sql.gz + 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