diff --git a/README.md b/README.md index 22c648fa1ce269a50c421cc6c35c7d4b191b6964..0dd59c4b60d3fa8d34946fd5cdcb3f8660331b0f 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 ebf2fd4c05146e565a14e79711d922b3d7e35c04..47d1e54a0a3ed57f6ada616e508a9e5476c65668 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