]> git.openstreetmap.org Git - nominatim.git/blobdiff - vagrant/Install-on-Ubuntu-18.sh
disable warning about non-toplevel import
[nominatim.git] / vagrant / Install-on-Ubuntu-18.sh
index 52f01715ef33d42dde5870cd356e5704af320882..8a4d2b7385d940a79ef7eed654054ba08dd206b8 100755 (executable)
@@ -29,7 +29,7 @@ export DEBIAN_FRONTEND=noninteractive #DOCS:
                         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
 
 
@@ -160,16 +160,6 @@ EOFAPACHECONF
     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: