Also updates some dependencies.
For running tests:
- * [lettuce](http://lettuce.it)
- * [Shapely](http://toblerity.org/shapely/index.html)
+ * [behave](http://pythonhosted.org/behave/)
* [Psycopg2](http://initd.org/psycopg)
* [nose](https://nose.readthedocs.io)
* [phpunit](https://phpunit.de)
+When installing the latest source from github, you also need to
+download the country grid:
+
+
+ wget -O data/country_osm_grid.sql.gz http://www.nominatim.org/data/country_grid.sql.gz
+
+
The code must be built in a separate directory. Create this directory,
then configure and build Nominatim in there:
+When installing the latest source from github, you also need to
+download the country grid:
+
+
+ wget -O data/country_osm_grid.sql.gz http://www.nominatim.org/data/country_grid.sql.gz
+
+
The code must be built in a separate directory. Create this directory,
then configure and build Nominatim in there:
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:
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
@define('CONST_Website_BaseURL', '/nominatim/');
@define('CONST_Database_DSN', 'pgsql://@/test_api_nominatim');
@define('CONST_Wikipedia_Data_Path', CONST_BasePath.'/test/testdb');
-EOF
\ No newline at end of file
+EOF
+
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: