]> git.openstreetmap.org Git - nominatim.git/blobdiff - VAGRANT.md
Merge pull request #775 from lonvia/code-coverage
[nominatim.git] / VAGRANT.md
index 56a634325691a1e76bf8edc4bece91aa1b95d6c5..7a891f1c8a1f6e8298e0d6477c6322d76272c05b 100644 (file)
@@ -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
-    ```
-
-  To repeat an import you'd need to delete the database first
-
-        dropdb -if-exists nominatim
+      ```
+      # 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
+
+        dropdb --if-exists nominatim