Mercurial > gemma
view schema/README @ 142:edce32db775a vue-gettext
merge with default
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 02 Jul 2018 09:37:15 +0200 |
parents | dad6cf39691e |
children | a422471db08a |
line wrap: on
line source
Build Dockerfile with e.g.: $ docker build -t gemma . Get a running instance with e.g.: $ docker run --name gemma -d -p 54321:5432 -v $PWD:/opt/gemma gemma Run tests for RLS policies as database superuser (within container) with: $ psql -d gemma -Xf tap_tests.sql Create ER diagrams with e.g.: Auxiliary tables: $ postgresql_autodoc -p 54321 -h $dockerhost \ -U gemma --password=gemma -t dot -l . -s 'gemma' $ dot -Tpdf gemma.dot > gemma_auxiliary.pdf Waterway related tables: $ postgresql_autodoc -p 54321 -h $dockerhost \ -U gemma --password=gemma -t dot -l . -s 'gemma_waterway' $ dot -Tpdf gemma.dot > gemma_waterway.pdf Fairway/bottleneck related tables: $ postgresql_autodoc -p 54321 -h $dockerhost \ -U gemma --password=gemma -t dot -l . -s 'gemma_fairway' $ dot -Tpdf gemma.dot > gemma_fairway.pdf