X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/676c5659054f2c3a271abaec87bb165b8a1742de..924d3a8d6e9d5557f5d0d7b0f22f49a0d524a768:/VAGRANT.md diff --git a/VAGRANT.md b/VAGRANT.md index e6a0fbb3..56a63432 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 @@ -45,11 +45,10 @@ 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 ``` To repeat an import you'd need to delete the database first