diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 3fae95b7..ac03a670 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Nominatim Documentation +site_name: Nominatim 4.0.0 theme: readthedocs docs_dir: ${CMAKE_CURRENT_BINARY_DIR} site_url: https://nominatim.org diff --git a/vagrant/Install-on-Centos-7.sh b/vagrant/Install-on-Centos-7.sh index d3fd9ef0..fc093112 100755 --- a/vagrant/Install-on-Centos-7.sh +++ b/vagrant/Install-on-Centos-7.sh @@ -35,7 +35,7 @@ sudo yum install -y postgresql11-server postgresql11-contrib postgresql11-devel \ postgis25_11 postgis25_11-utils \ - wget git cmake make gcc gcc-c++ libtool policycoreutils-python \ + wget cmake make gcc gcc-c++ libtool policycoreutils-python \ devtoolset-7 llvm-toolset-7 \ php-pgsql php php-intl libpqxx-devel \ proj-epsg bzip2-devel proj-devel boost-devel \ @@ -117,26 +117,19 @@ sudo chown vagrant /srv/nominatim #DOCS: # if [ "x$1" == "xyes" ]; then #DOCS: :::sh cd $USERHOME - git clone --recursive git://github.com/openstreetmap/Nominatim.git - cd Nominatim + wget https://nominatim.org/release/Nominatim-4.0.0.tar.bz2 + tar xf Nominatim-4.0.0.tar.bz2 else #DOCS: cd $USERHOME/Nominatim #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: :::sh - wget --no-verbose -O data/country_osm_grid.sql.gz https://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: #DOCS: :::sh mkdir $USERHOME/build cd $USERHOME/build - cmake $USERHOME/Nominatim + cmake $USERHOME/Nominatim-4.0.0 make sudo make install diff --git a/vagrant/Install-on-Centos-8.sh b/vagrant/Install-on-Centos-8.sh index 4877e0ad..f55cdca2 100755 --- a/vagrant/Install-on-Centos-8.sh +++ b/vagrant/Install-on-Centos-8.sh @@ -30,7 +30,7 @@ #DOCS: :::sh sudo dnf --enablerepo=powertools install -y postgresql12-server \ postgresql12-contrib postgresql12-devel postgis30_12 \ - wget git cmake make gcc gcc-c++ libtool policycoreutils-python-utils \ + wget cmake make gcc gcc-c++ libtool policycoreutils-python-utils \ llvm-toolset ccache clang-tools-extra \ php-pgsql php php-intl php-json libpq-devel \ bzip2-devel proj-devel boost-devel \ @@ -125,26 +125,19 @@ fi #DOCS: # if [ "x$1" == "xyes" ]; then #DOCS: :::sh cd $USERHOME - git clone --recursive git://github.com/openstreetmap/Nominatim.git - cd Nominatim + wget https://nominatim.org/release/Nominatim-4.0.0.tar.bz2 + tar xf Nominatim-4.0.0.tar.bz2 else #DOCS: cd $USERHOME/Nominatim #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: :::sh - wget --no-verbose -O data/country_osm_grid.sql.gz https://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: #DOCS: :::sh mkdir $USERHOME/build cd $USERHOME/build - cmake $USERHOME/Nominatim + cmake $USERHOME/Nominatim-4.0.0 make sudo make install diff --git a/vagrant/Install-on-Ubuntu-18.sh b/vagrant/Install-on-Ubuntu-18.sh index a1a1fe30..a022b097 100755 --- a/vagrant/Install-on-Ubuntu-18.sh +++ b/vagrant/Install-on-Ubuntu-18.sh @@ -28,7 +28,7 @@ export DEBIAN_FRONTEND=noninteractive #DOCS: postgresql-server-dev-10 postgresql-10-postgis-2.4 \ postgresql-contrib-10 postgresql-10-postgis-scripts \ php php-pgsql php-intl libicu-dev python3-pip \ - python3-psutil python3-jinja2 python3-icu git + python3-psutil python3-jinja2 python3-icu # Some of the Python packages that come with Ubuntu 18.04 are too old, so # install the latest version from pip: @@ -105,25 +105,18 @@ fi #DOCS: # if [ "x$1" == "xyes" ]; then #DOCS: :::sh cd $USERHOME - git clone --recursive git://github.com/openstreetmap/Nominatim.git - cd Nominatim + wget https://nominatim.org/release/Nominatim-4.0.0.tar.bz2 + tar xf Nominatim-4.0.0.tar.bz2 else #DOCS: cd $USERHOME/Nominatim #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: :::sh - wget -O data/country_osm_grid.sql.gz https://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: mkdir $USERHOME/build cd $USERHOME/build - cmake $USERHOME/Nominatim + cmake $USERHOME/Nominatim-4.0.0 make sudo make install diff --git a/vagrant/Install-on-Ubuntu-20.sh b/vagrant/Install-on-Ubuntu-20.sh index 1fbabf24..75f6432a 100755 --- a/vagrant/Install-on-Ubuntu-20.sh +++ b/vagrant/Install-on-Ubuntu-20.sh @@ -28,7 +28,7 @@ export DEBIAN_FRONTEND=noninteractive #DOCS: postgresql-contrib-12 postgresql-12-postgis-3-scripts \ php php-pgsql php-intl libicu-dev python3-dotenv \ python3-psycopg2 python3-psutil python3-jinja2 \ - python3-icu python3-datrie git + python3-icu python3-datrie # # System Configuration @@ -99,8 +99,8 @@ fi #DOCS: # if [ "x$1" == "xyes" ]; then #DOCS: :::sh cd $USERHOME - git clone --recursive git://github.com/openstreetmap/Nominatim.git - cd Nominatim + wget https://nominatim.org/release/Nominatim-4.0.0.tar.bz2 + tar xf Nominatim-4.0.0.tar.bz2 else #DOCS: cd $USERHOME/Nominatim #DOCS: fi #DOCS: @@ -117,7 +117,7 @@ fi #DOCS: mkdir $USERHOME/build cd $USERHOME/build - cmake $USERHOME/Nominatim + cmake $USERHOME/Nominatim-4.0.0 make sudo make install