update docs for new country grid location

Also updates some dependencies.
This commit is contained in:
Sarah Hoffmann
2017-05-13 00:13:56 +02:00
parent b15b996cc4
commit e7c8b498d1
6 changed files with 32 additions and 3 deletions

View File

@@ -151,6 +151,13 @@ 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:

View File

@@ -45,6 +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
mkdir build
cd build
@@ -57,4 +58,5 @@ tee settings/local.php << EOF
@define('CONST_Website_BaseURL', '/nominatim/');
@define('CONST_Database_DSN', 'pgsql://@/test_api_nominatim');
@define('CONST_Wikipedia_Data_Path', CONST_BasePath.'/test/testdb');
EOF
EOF

View File

@@ -138,6 +138,13 @@ 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: