X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/cfd03d7be394991acdb4a6b40dd3cd800cf3714c..e3fb706c65505ce3ad79fe6a2d94c11cc77bf67a:/vagrant/install-on-ubuntu-16.sh diff --git a/vagrant/install-on-ubuntu-16.sh b/vagrant/install-on-ubuntu-16.sh index 81a8a926..11f80a3e 100755 --- a/vagrant/install-on-ubuntu-16.sh +++ b/vagrant/install-on-ubuntu-16.sh @@ -28,7 +28,7 @@ export DEBIAN_FRONTEND=noninteractive #DOCS: libbz2-dev libpq-dev libgeos-dev libgeos++-dev libproj-dev \ postgresql-server-dev-9.5 postgresql-9.5-postgis-2.2 postgresql-contrib-9.5 \ apache2 php php-pgsql libapache2-mod-php php-pear php-db \ - git + php-intl git # If you want to run the test suite, you need to install the following # additional packages: @@ -131,13 +131,20 @@ sudo sed -i 's:#.*::' /etc/apache2/conf-available/nominatim.conf #DOCS: if [ "x$1" == "xyes" ]; then #DOCS: cd $USERHOME - git clone --recursive git://github.com/twain47/Nominatim.git + git clone --recursive git://github.com/openstreetmap/Nominatim.git #DOCS: cd Nominatim else #DOCS: cd $USERHOME #DOCS: fi #DOCS: +# When installing the latest source from github, you also need to +# download the country grid: + +if [ ! -f data/country_osm_grid.sql.gz ]; then #DOCS: + wget -O data/country_osm_grid.sql.gz http://www.nominatim.org/data/country_grid.sql.gz +fi #DOCS: + # The code must be built in a separate directory. Create this directory, # then configure and build Nominatim in there: