mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
vagrant: download country data into correct directory
This commit is contained in:
@@ -145,10 +145,10 @@ if [ "x$1" == "xyes" ]; then #DOCS:
|
||||
|
||||
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
|
||||
@@ -161,6 +161,7 @@ fi #DOCS:
|
||||
# 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
|
||||
|
||||
@@ -132,10 +132,10 @@ if [ "x$1" == "xyes" ]; then #DOCS:
|
||||
|
||||
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
|
||||
@@ -148,6 +148,7 @@ fi #DOCS:
|
||||
# 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
|
||||
|
||||
@@ -45,7 +45,7 @@ EOFAPACHECONF
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user