[FIX] missing postgis ubuntu installation

This commit is contained in:
Mathieu Benoit 2021-07-20 16:07:22 -04:00
parent 26f5f6b3ef
commit cb88d0f122
2 changed files with 7 additions and 2 deletions

View file

@ -38,7 +38,12 @@ Run `make docker_build` to generate a docker.
### Test production Ubuntu environment
Follow instruction into [PRODUCTION.md](./PRODUCTION.md).
Follow instructions in [PRODUCTION.md](./PRODUCTION.md).
Test installation with code generator Geomap:
```bash
make addons_install_code_generator_full
```
## Generate new prod and release

View file

@ -38,7 +38,7 @@ sudo apt-get upgrade -y
# Install PostgreSQL Server
#--------------------------------------------------
echo -e "\n---- Install PostgreSQL Server ----"
sudo apt-get install postgresql libpq-dev -y
sudo apt-get install postgresql libpq-dev postgis -y
echo -e "\n---- Creating the ERPLibre PostgreSQL User ----"
sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true