Mercurial > gemma
view schema/README @ 450:f8d8f12bab91
client: Remove swagger remains.
* Remove swagger mention from README, remove components needed
for swagger and dependencies. These were left from removing swagger
bd96611a7555. While doing so yarn.lock is also slightly updated.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Wed, 22 Aug 2018 10:02:46 +0200 |
parents | 68fd656c3d55 |
children |
line wrap: on
line source
Build Dockerfile with e.g.: $ docker build -t gemma_db . Get a running instance with e.g.: $ docker run --name gemma_db -d -p 54321:5432 -v $PWD:/opt/gemma gemma_db Run tests for RLS policies: $ docker exec gemma_db ./run_tests.sh Create ER diagrams with e.g.: Auxiliary tables: $ postgresql_autodoc -p 54321 -h $dockerhost \ -d gemma -U sophie --password=so2Phie4 -t dot -l . -s 'gemma' $ dot -Tpdf gemma.dot > gemma_auxiliary.pdf Waterway related tables: $ postgresql_autodoc -p 54321 -h $dockerhost \ -d gemma -U sophie --password=so2Phie4 -t dot -l . -s 'gemma_waterway' $ dot -Tpdf gemma.dot > gemma_waterway.pdf Fairway/bottleneck related tables: $ postgresql_autodoc -p 54321 -h $dockerhost \ -d gemma -U sophie --password=so2Phie4 -t dot -l . -s 'gemma_fairway' $ dot -Tpdf gemma.dot > gemma_fairway.pdf