#!/bin/bash

sudo apt-get update

sudo apt-get install -y git
sudo apt-get install -y python-virtualenv
sudo apt-get install -y python-dev python-pip
sudo apt-get install -y libxml2-dev libxslt1-dev zlib1g-dev


# postgresql
sudo apt-get install -y sqlite3 # for tests
sudo apt-get install -y libsqlite3-dev # for tests
sudo apt-get install -y postgresql-9.5
sudo apt-get install -y postgresql-client
sudo apt-get install -y postgresql-server-dev-9.5
sudo apt-get install -y postgis
sudo apt-get install -y postgresql-9.5-postgis-2.2
sudo apt-get install -y postgresql-9.5-postgis-2.2-scripts
sudo apt-get install python-psycopg2
sudo apt-get install libpq-dev
# GEOS
sudo apt-get install -y binutils libproj-dev gdal-bin libgeos-3.5.0 libgeos-dev

# redis
sudo apt-get install -y redis-server

# pip dependencies
sudo pip install ipython

#Unittest dependencies
sudo apt-get install libsqlite3-mod-spatialite

# fulltext Python library for extracting text from various file formats (for indexing).
sudo apt-get install catdoc odt2txt antiword poppler-utils unrtf perl libimage-exiftool-perl html2text binutils unrar gzip bzip2 unzip docx2txt

#!/bin/bash

sudo apt-get update

sudo apt-get install -y git
sudo apt-get install -y python-virtualenv
sudo apt-get install -y python-dev python-pip
sudo apt-get install -y libxml2-dev libxslt1-dev zlib1g-dev


# postgresql
sudo apt-get install -y sqlite3 # for tests
sudo apt-get install -y libsqlite3-dev # for tests
sudo apt-get install -y postgresql-9.5
sudo apt-get install -y postgresql-client
sudo apt-get install -y postgresql-server-dev-9.5
sudo apt-get install -y postgis
sudo apt-get install -y postgresql-9.5-postgis-2.2
sudo apt-get install -y postgresql-9.5-postgis-2.2-scripts
sudo apt-get install python-psycopg2
sudo apt-get install libpq-dev
# GEOS
sudo apt-get install -y binutils libproj-dev gdal-bin libgeos-3.5.0 libgeos-dev

# redis
sudo apt-get install -y redis-server

# pip dependencies
sudo pip install ipython

#Unittest dependencies
sudo apt-get install -y libsqlite3-mod-spatialite

# fulltext Python library for extracting text from various file formats (for indexing).
sudo apt-get update
sudo apt-get install -y catdoc odt2txt antiword poppler-utils unrtf perl libimage-exiftool-perl html2text binutils unrar gzip bzip2 unzip docx2txt

Fix up dependencies install in vagrant box
Fix up dependencies install in vagrant box
