# 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
```
cd $USERHOME
git clone --recursive git://github.com/openstreetmap/Nominatim.git
-#DOCS: cd Nominatim
+ cd Nominatim
else #DOCS:
- cd $USERHOME #DOCS:
+ cd $USERHOME/Nominatim #DOCS:
fi #DOCS:
# When installing the latest source from github, you also need to
# The code must be built in a separate directory. Create this directory,
# then configure and build Nominatim in there:
+ cd $USERHOME #DOCS:
mkdir build
cd build
cmake $USERHOME/Nominatim
cd $USERHOME
git clone --recursive git://github.com/openstreetmap/Nominatim.git
-#DOCS: cd Nominatim
+ cd Nominatim
else #DOCS:
- cd $USERHOME #DOCS:
+ cd $USERHOME/Nominatim #DOCS:
fi #DOCS:
# When installing the latest source from github, you also need to
# The code must be built in a separate directory. Create this directory,
# then configure and build Nominatim in there:
+ cd $USERHOME #DOCS:
mkdir build
cd build
cmake $USERHOME/Nominatim
sudo a2enconf nominatim
sudo service apache2 restart
-wget -O data/country_osm_grid.sql.gz http://www.nominatim.org/data/country_grid.sql.gz
+wget -O $TRAVIS_BUILD_DIR/data/country_osm_grid.sql.gz http://www.nominatim.org/data/country_grid.sql.gz
mkdir build
cd build