Skip to content

Commit

Permalink
Improve error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
LucWollants committed Sep 4, 2024
1 parent ee17952 commit db8391b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ DIR="../appconfig/files/uitdatabank/docker/udb3-search-service/"
if [ -d "$DIR" ]; then
cp -R "$DIR"/* .
else
echo "Error: missing appconfig see docker.md prerequisites to fix this."
echo "Error: missing appconfig. The appconfig and udb3-search-service repositories must be cloned into the same parent folder."
exit 1
fi

DIR="../geojson-data/output"
if [ -d "$DIR" ]; then
cp "$DIR"/facet_mapping_regions.yml .
else
echo "Error: missing geojson data see docker.md prerequisites to fix this."
echo "Error: missing geojson data. See docker.md prerequisites to fix this."
exit 1
fi

DIR="../appconfig/files/uitdatabank/docker/keys/"
if [ -d "$DIR" ]; then
cp -R "$DIR"/* .
else
echo "Error: missing appconfig see docker.md prerequisites to fix this."
echo "Error: missing appconfig. The appconfig and udb3-search-service repositories must be cloned into the same parent folder."
exit 1
fi

0 comments on commit db8391b

Please sign in to comment.