libbz2-dev libpq-dev libproj-dev \
postgresql-server-dev-12 postgresql-12-postgis-3 \
postgresql-contrib-12 postgresql-12-postgis-3-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: