Mercurial > gemma
annotate README @ 91:c38edd879e2e
Add profile attributes.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 01 Jun 2018 19:50:58 +0200 |
parents | d9d01dc58f60 |
children | aa32ffd5060b |
rev | line source |
---|---|
36 | 1 Build Dockerfile with e.g.: |
2 $ docker build -t wamos . | |
3 | |
4 Get a running instance with e.g.: | |
57
353f804e86ae
Use volume to have sql in container.
Tom Gottfried <tom@intevation.de>
parents:
36
diff
changeset
|
5 $ docker run --name wamos -d -p 54321:5432 -v $PWD:/opt/wamos wamos |
36 | 6 |
83 | 7 Create ER diagrams with e.g.: |
8 Auxiliary tables: | |
36 | 9 $ postgresql_autodoc -p 54321 -h $dockerhost \ |
68
7a91106668b8
Respect custom template and schema in README.
Tom Gottfried <tom@intevation.de>
parents:
57
diff
changeset
|
10 -U wamos --password=wamos -t dot -l . -s 'wamos' |
83 | 11 $ dot -Tpdf wamos.dot > wamos_auxiliary.pdf |
12 | |
13 Waterway related tables: | |
14 $ postgresql_autodoc -p 54321 -h $dockerhost \ | |
15 -U wamos --password=wamos -t dot -l . -s 'wamos_waterway' | |
16 $ dot -Tpdf wamos.dot > wamos_waterway.pdf | |
17 | |
18 Fairway/bottleneck related tables: | |
19 $ postgresql_autodoc -p 54321 -h $dockerhost \ | |
20 -U wamos --password=wamos -t dot -l . -s 'wamos_fairway' | |
21 $ dot -Tpdf wamos.dot > wamos_fairway.pdf |