mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
fix dependences in vagrant provision script
Add missing ones and replace manually installed stuff with distro packages where possible.
This commit is contained in:
@@ -29,10 +29,9 @@ USERNAME=vagrant
|
|||||||
|
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get upgrade -y
|
sudo apt-get upgrade -y
|
||||||
# sudo apt-get install -y git-core screen
|
|
||||||
sudo apt-get install -y build-essential libxml2-dev libgeos-dev libpq-dev libbz2-dev \
|
sudo apt-get install -y build-essential libxml2-dev libgeos-dev libpq-dev libbz2-dev \
|
||||||
libtool automake libproj-dev libboost-dev libboost-system-dev \
|
libtool automake libproj-dev libboost-dev libboost-system-dev \
|
||||||
libboost-filesystem-dev libboost-thread-dev
|
libboost-filesystem-dev libboost-thread-dev libexpat-dev
|
||||||
sudo apt-get autoremove -y
|
sudo apt-get autoremove -y
|
||||||
|
|
||||||
# get arrow-keys working in terminal (e.g. editing in vi)
|
# get arrow-keys working in terminal (e.g. editing in vi)
|
||||||
@@ -62,8 +61,7 @@ sudo -u postgres createuser -s $USERNAME
|
|||||||
###
|
###
|
||||||
### PHP for frontend
|
### PHP for frontend
|
||||||
###
|
###
|
||||||
sudo apt-get install -y php5 php5-pgsql php-pear
|
sudo apt-get install -y php5 php5-pgsql php-pear php-db
|
||||||
sudo pear install DB
|
|
||||||
|
|
||||||
|
|
||||||
# get rid of some warning
|
# get rid of some warning
|
||||||
@@ -156,15 +154,12 @@ sudo chown $USERNAME /var/www/nominatim
|
|||||||
## Test suite (Python)
|
## Test suite (Python)
|
||||||
## https://github.com/twain47/Nominatim/tree/master/tests
|
## https://github.com/twain47/Nominatim/tree/master/tests
|
||||||
##
|
##
|
||||||
sudo apt-get install -y python-dev python-pip python-Levenshtein tidy
|
sudo apt-get install -y python-dev python-pip python-Levenshtein python-shapely \
|
||||||
sudo pip install lettuce nose pytidylib haversine psycopg2 shapely
|
python-psycopg2 tidy python-nose python-tidylib
|
||||||
|
sudo pip install lettuce haversine
|
||||||
|
|
||||||
##
|
|
||||||
## Test suite (PHP)
|
## Test suite (PHP)
|
||||||
## https://github.com/twain47/Nominatim/tree/master/tests-php
|
## https://github.com/twain47/Nominatim/tree/master/tests-php
|
||||||
##
|
sudo apt-get install -y phpunit
|
||||||
wget --no-clobber -q https://phar.phpunit.de/phpunit.phar
|
|
||||||
chmod +x phpunit.phar
|
|
||||||
sudo mv phpunit.phar /usr/local/bin/phpunit
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user