libbz2-dev libpq-dev libproj-dev \
postgresql-server-dev-10 postgresql-10-postgis-2.4 \
postgresql-contrib-10 postgresql-10-postgis-scripts \
- php php-pgsql php-intl \
+ php php-pgsql php-intl python3-dotenv \
python3-psycopg2 git
sudo a2enconf nominatim
sudo systemctl restart apache2
-# You need to create a minimal configuration file that tells nominatim
-# where it is located on the webserver:
-
-#DOCS:```sh
-tee settings/local.php << EOF
-<?php
- @define('CONST_Website_BaseURL', '/nominatim/');
-EOF
-#DOCS:```
-
# The Nominatim API is now available at `http://localhost/nominatim/`.
fi #DOCS: