Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
2c24c821
Verified
Commit
2c24c821
authored
3 months ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Changed the link
Signed-off-by:
Martin Weise
<
martin.weise@tuwien.ac.at
>
parent
e67c607e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
install.sh
+6
-5
6 additions, 5 deletions
install.sh
with
6 additions
and
5 deletions
install.sh
+
6
−
5
View file @
2c24c821
#!/bin/bash
#!/bin/bash
# preset
# preset
VERSION
=
"1.8.1"
APP_VERSION
=
"1.8.1"
DOC_VERSION
=
"1.8"
MIN_CPU
=
8
MIN_CPU
=
8
MIN_RAM
=
4
MIN_RAM
=
4
MIN_MAP_COUNT
=
262144
MIN_MAP_COUNT
=
262144
...
@@ -63,8 +64,8 @@ else
...
@@ -63,8 +64,8 @@ else
fi
fi
# environment
# environment
echo
"[🚀] Gathering environment for version
${
VERSION
}
..."
echo
"[🚀] Gathering environment for version
${
APP_
VERSION
}
..."
curl
-ksSL
-o
./dist.tar.gz
"https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/
${
VERSION
}
/dist.tar.gz"
curl
-ksSL
-o
./dist.tar.gz
"https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/
${
APP_
VERSION
}
/dist.tar.gz"
tar
xzfv ./dist.tar.gz
tar
xzfv ./dist.tar.gz
if
[[
$DOWNLOAD_ONLY
-eq
1
]]
;
then
if
[[
$DOWNLOAD_ONLY
-eq
1
]]
;
then
...
@@ -72,7 +73,7 @@ if [[ $DOWNLOAD_ONLY -eq 1 ]]; then
...
@@ -72,7 +73,7 @@ if [[ $DOWNLOAD_ONLY -eq 1 ]]; then
exit
0
exit
0
fi
fi
echo
"[📦] Pulling images for version
${
VERSION
}
..."
echo
"[📦] Pulling images for version
${
APP_
VERSION
}
..."
docker compose pull
docker compose pull
echo
"[🎉] Success!"
echo
"[🎉] Success!"
...
@@ -86,4 +87,4 @@ echo "Then start the local deployment with:"
...
@@ -86,4 +87,4 @@ echo "Then start the local deployment with:"
echo
""
echo
""
echo
" docker compose up -d"
echo
" docker compose up -d"
echo
""
echo
""
echo
"Read about next steps online: https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/
${
VERSION
}
/installation/#next-steps"
echo
"Read about next steps online: https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/
${
DOC_
VERSION
}
/installation/#next-steps"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment