Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-api
Commits
59ce47d1
Commit
59ce47d1
authored
Aug 11, 2021
by
Wei Shoulin
Browse files
install
parent
fb55e2f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/csst-dfs-api-install.sh
View file @
59ce47d1
echo
"CSST-DFS-API Installer"
echo
"=============================================="
if
[
$#
!=
1
]
;
then
version
=
""
if
[
$#
==
0
]
;
then
version
=
""
elif
[
$#
==
1
]
;
then
version
=
"@
$1
"
else
echo
"USAGE:
$0
[version]"
echo
" e.g.:
$0
v0.0.1"
exit
1
;
fi
version
=
$1
pip uninstall csst-dfs-api-local
-y
pip uninstall csst-dfs-api-cluster
-y
...
...
@@ -17,14 +21,14 @@ pip uninstall csst-dfs-api -y
echo
"Installing.....Version:
$version
"
echo
"=============================================="
echo
"1/5"
pip
install
git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-commons.git
@
$version
pip
install
git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-commons.git
$version
echo
"2/5"
pip
install
git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-proto-py.git
@
$version
pip
install
git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-proto-py.git
$version
echo
"3/5"
pip
install
git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-api-local.git
@
$version
pip
install
git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-api-local.git
$version
echo
"4/5"
pip
install
git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-api-cluster.git
@
$version
pip
install
git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-api-cluster.git
$version
echo
"5/5"
pip
install
git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-api.git
@
$version
pip
install
git+https://hub.fastgit.org/astronomical-data-processing/csst-dfs-api.git
$version
echo
"=============================================="
echo
"Done!"
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment