From 16728caf6b27c018093a17611e70ab7cdbe7f153 Mon Sep 17 00:00:00 2001 From: zxl Date: Tue, 30 Aug 2022 11:13:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0.sh=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++++++ csst-pyscalebox-install.sh | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 22c648f..0dd59c4 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,14 @@ cd pyscalebox python3 -m pip install -r requirements.txt python3 setup.py install ``` + +`pyscalebox` and relevant packages could be installed by running one of the following commands in your terminal. + +```bash +sh -c "$(curl -fsSL https://hub.cstcloud.cn/git/csst/pyscalebox/-/blob/master/csst-pyscalebox-install.sh)" +``` + + ## Configuration - CSST_PIPELINE_GRPC_SERVER = scalebox plat server # default: 122.96.144.152:39092 - CSST_ADML2_JOB_ID = Admin level2 ID # default: 2 \ No newline at end of file diff --git a/csst-pyscalebox-install.sh b/csst-pyscalebox-install.sh index ebf2fd4..47d1e54 100644 --- a/csst-pyscalebox-install.sh +++ b/csst-pyscalebox-install.sh @@ -4,8 +4,8 @@ echo "==============================================" version="" user="" -pip uninstall pyscalebox -y +python3 -m pip uninstall pyscalebox -y echo "Installing CSST PYSCALEBOX API with Version:$version" echo "➡===============================================" -pip install$user git+http://hub.cstcloud.cn/git/csst/pyscalebox.git$version \ No newline at end of file +python3 -m pip install$user git+http://hub.cstcloud.cn/git/csst/pyscalebox.git$version \ No newline at end of file -- GitLab