révision suite réinstallation

This commit is contained in:
Mael REBOUX 2020-02-07 14:37:13 +01:00
parent 0b9107e172
commit b416fe994c
5 changed files with 9 additions and 8 deletions

View file

@ -11,10 +11,11 @@ psql -d postgres -c "ALTER USER redadeg WITH PASSWORD 'redadeg';"
# create database with owner redadeg
createdb -E UTF8 -O redadeg redadeg
# postgis extension
psql -d redadeg -c "CREATE EXTENSION postgis;"
# postgis extensions
psql -d redadeg -c "CREATE EXTENSION postgis;"
psql -d redadeg -c "CREATE EXTENSION pgrouting;"
psql -d redadeg -c "CREATE EXTENSION postgis_topology SCHEMA topology;"
# create tables
psql -d redadeg -U redadeg -W < create_tables_3948.sql
psql -d redadeg -U redadeg -W < create_tables.sql

View file

@ -7,7 +7,7 @@ echo ""
echo ""
HOST_DB_redadeg=localhost
HOST_DB_osm=192.168.56.1
HOST_DB_osm=localhost
# suppose le le .pgpass est correctement configuré pour le compte qui lance ce script

View file

@ -7,7 +7,7 @@ echo ""
echo ""
HOST_DB_redadeg=localhost
HOST_DB_osm=192.168.56.1
HOST_DB_osm=localhost
# suppose le le .pgpass est correctement configuré pour le compte qui lance ce script

View file

@ -1,6 +1,6 @@
#!/bin/sh
cd /data/www/vhosts/ar-redadeg_openstreetmap_bzh/htdocs/scripts/
#cd /data/www/vhosts/ar-redadeg_openstreetmap_bzh/htdocs/scripts/
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# on récupère les couches geojson depuis umap

View file

@ -9,7 +9,7 @@ DB_NAME=redadeg
DB_USER=redadeg
cd /data/www/vhosts/ar-redadeg_openstreetmap_bzh/htdocs/scripts/
#cd /data/www/vhosts/ar-redadeg_openstreetmap_bzh/htdocs/scripts/
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# on récupère les couches geojson depuis umap