Mercurial > gemma
view schema/README @ 126:89cf2e7672ff
Implemented an explicit token deletion under endpoint /api/logout.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 28 Jun 2018 13:09:38 +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