-
Notifications
You must be signed in to change notification settings - Fork 14
Install geoCat
Julien Acroute edited this page Mar 21, 2017
·
3 revisions
git clone --recursive https://github.com/camptocamp/geocat.git
cd geocat
- Récupérer en local l'archive : smb://fileserver.camptocamp.com/commun/1_departments/1_geospatial/1_projects/4_maintenance/chtopo_geocat-maintenance/19_external_documents/geocat-db.tgz
- Décompresser l'archive dans /tmp/geocat-db/
Par défaut, geocat2_trunk
avec owner www-data
:
sudo -u postgres createuser www-data
sudo -u postgres createdb --owner=www-data geocat2_trunk
sudo -u postgres pg_restore --dbname=geocat2_trunk -v --format=directory /tmp/geocat-db/
curl https://raw.githubusercontent.com/georchestra/georchestra/16.12/postgresql/fix-owner.sql | sudo -u postgres psql geocat2_trunk
echo "SELECT change_owner('public', 'www-data')" | sudo -u postgres psql geocat2_trunk
cp bin/config_fgravin.sh bin/config_${USER}.sh
bin/start.sh
Go to http://localhost:8190/geonetwork
- Go to Admin console
- login
admin/admin
- Import
iso19139.ch
schemas templates and samples