diff --git a/script/install/install_OSX_dependency.sh b/script/install/install_OSX_dependency.sh index df607c9..3b1a7d2 100755 --- a/script/install/install_OSX_dependency.sh +++ b/script/install/install_OSX_dependency.sh @@ -14,10 +14,12 @@ EL_USER=${USER} #-------------------------------------------------- echo "\n---- Install PostgreSQL Server ----" brew install postgresql +brew install postgis brew services start postgresql echo "\n---- Creating the ERPLibre PostgreSQL User ----" sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true +sudo su - postgres -c "CREATE EXTENSION postgis;\nCREATE EXTENSION postgis_topology;" 2> /dev/null || true #-------------------------------------------------- # Install Dependencies