annotate run-app.sh @ 2006:35acb7f9ae0c

Do anything else before expectedly failing role creation Creating roles during database setup expectedly fails in case there already is another gemma database in the cluster. Doing it at the end of the transaction ensures it does not hide errors in other commands in the script. In passing, add the default admin via the designated view to ensure it will become a correctly set up application user.
author Tom Gottfried <tom@intevation.de>
date Thu, 24 Jan 2019 17:23:43 +0100
parents 9b2218a6c6ae
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
544
9b2218a6c6ae feat. run-app script added
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
1 #!/usr/bin/env bash
9b2218a6c6ae feat. run-app script added
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
2 exec 2>&1 ./cmd/gemma/gemma --config gemma.toml