Update VAGRANT.md

This commit is contained in:
manzari 2017-07-06 18:05:14 +02:00 committed by GitHub
parent 6de0a854fb
commit e64e3b4939

View File

@ -47,13 +47,14 @@ is.
# inside the virtual machine: # inside the virtual machine:
mkdir data mkdir data
cd build 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 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/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