annotate README @ 43:e84ff54eb8e9

Tweak ER diagramm.
author Tom Gottfried <tom@intevation.de>
date Mon, 07 May 2018 22:21:17 +0200
parents 333c42e341e5
children 353f804e86ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
333c42e341e5 Add README.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
1 Build Dockerfile with e.g.:
333c42e341e5 Add README.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
2 $ docker build -t wamos .
333c42e341e5 Add README.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
3
333c42e341e5 Add README.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
4 Get a running instance with e.g.:
333c42e341e5 Add README.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
5 $ docker run --name wamos -d -p 54321:5432 wamos
333c42e341e5 Add README.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
6
333c42e341e5 Add README.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
7 Create ER diagram with e.g.:
333c42e341e5 Add README.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
8 $ postgresql_autodoc -p 54321 -h $dockerhost \
333c42e341e5 Add README.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
9 -U wamos --password=wamos -t dot
333c42e341e5 Add README.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
10 $ dot -Tpng wamos.dot > wamos.png