[ADD] Launch script: Change config to config.example to permit user to

keep its own configuration without any lost when fetching git repository
master
Olivier DOSSMANN 2016-01-13 10:11:11 +01:00
parent 8f7009597e
commit 73eb353758
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored 100644
View File

@ -0,0 +1 @@
config

View File

@ -15,6 +15,10 @@ POSTGRES_VERSION="9.5"
GISSMO_DOCKER_NAME="gissmo"
## User
if ! test -f config; then
echo "'config' file not found. Copy config.example to config one and try again!"
exit 1
fi
. config || exit 1
## Composed