[FIX] missing postgis ubuntu installation
This commit is contained in:
parent
26f5f6b3ef
commit
cb88d0f122
2 changed files with 7 additions and 2 deletions
|
|
@ -38,7 +38,12 @@ Run `make docker_build` to generate a docker.
|
||||||
|
|
||||||
### Test production Ubuntu environment
|
### 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
|
## Generate new prod and release
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ sudo apt-get upgrade -y
|
||||||
# Install PostgreSQL Server
|
# Install PostgreSQL Server
|
||||||
#--------------------------------------------------
|
#--------------------------------------------------
|
||||||
echo -e "\n---- 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 ----"
|
echo -e "\n---- Creating the ERPLibre PostgreSQL User ----"
|
||||||
sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true
|
sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue