Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

III-4932 Handle the moved config files #312

Merged
merged 3 commits into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docker/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ if ! grep -q "host.docker.internal" /etc/hosts; then
sudo sh -c 'echo "127.0.0.1 host.docker.internal" >> /etc/hosts'
fi

DIR="../appconfig/files/udb3/docker/udb3-search-service/"
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"
DIR="../appconfig/files/uitdatabank/docker/keys/"
if [ -d "$DIR" ]; then
cp "$DIR"/facet_mapping_regions.yml .
cp -R "$DIR"/* .
else
echo "Error: missing geojson data 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="../appconfig/files/udb3/docker/keys/"
DIR="../geojson-data/output"
if [ -d "$DIR" ]; then
cp -R "$DIR"/* .
cp "$DIR"/facet_mapping_regions.yml .
else
echo "Error: missing appconfig see docker.md prerequisites to fix this."
echo "Error: missing geojson data. See docker.md prerequisites to fix this."
exit 1
fi
Loading