Commit 16728caf authored by zxl's avatar zxl
Browse files

增加.sh文件安装工具

parent 8651a553
......@@ -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
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment