]> git.openstreetmap.org Git - nominatim.git/blobdiff - vagrant/Install-on-Ubuntu-20.sh
bdd: move NominatimEnvironment into separate file
[nominatim.git] / vagrant / Install-on-Ubuntu-20.sh
index a6cc3706c2a37354cbcc781b96c0c9ed0c8f720e..292714e96e3da37738c79a25a6694f3b155b6037 100644 (file)
@@ -32,7 +32,7 @@ export DEBIAN_FRONTEND=noninteractive #DOCS:
                         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 php-symfony-dotenv \
                         python3-psycopg2 git
 
 #
@@ -161,16 +161,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: