]> git.openstreetmap.org Git - nominatim.git/blobdiff - vagrant/install-on-centos-7.sh
add more interpolation update scenarios (currently failing)
[nominatim.git] / vagrant / install-on-centos-7.sh
index 7e023cbef9487012df7f32a95ab15fd2402e3ed6..fd50bc52f531eade29083c2d9dc1c974003e9039 100755 (executable)
 # additional packages:
 
     sudo yum install -y python-pip python-Levenshtein python-psycopg2 \
-                        php-phpunit-PHPUnit
+                        python-numpy php-phpunit-PHPUnit
     pip install --user --upgrade pip setuptools lettuce==0.2.18 six==1.9 \
                                  haversine Shapely pytidylib
+    sudo pear install PHP_CodeSniffer
 
 #
 # System Configuration
@@ -103,6 +104,7 @@ sudo tee /etc/httpd/conf.d/nominatim.conf << EOFAPACHECONF
 <Directory "$USERHOME/build/website"> #DOCS:<Directory "$USERHOME/Nominatim/build/website">
   Options FollowSymLinks MultiViews
   AddType text/html   .php
+  DirectoryIndex search.php
   Require all granted
 </Directory>