update paths in vagrant docs

This commit is contained in:
Sarah Hoffmann 2016-08-02 22:55:13 +02:00
parent 88d623b631
commit ee7a6e8f92

View File

@ -45,11 +45,12 @@ is.
``` ```
# inside the virtual machine: # inside the virtual machine:
cd Nominatim mkdir data
wget --no-verbose --output-document=data/monaco.osm.pbf http://download.geofabrik.de/europe/monaco-latest.osm.pbf cd build
./utils/setup.php --osm-file data/monaco.osm.pbf --osm2pgsql-cache 1000 --all 2>&1 | tee monaco.$$.log wget --no-verbose --output-document=../data/monaco.osm.pbf http://download.geofabrik.de/europe/monaco-latest.osm.pbf
./utils/specialphrases.php --countries > data/specialphrases_countries.sql ./utils/setup.php --osm-file ../data/monaco.osm.pbf --osm2pgsql-cache 1000 --all 2>&1 | tee monaco.$$.log
psql -d nominatim -f data/specialphrases_countries.sql ./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 To repeat an import you'd need to delete the database first