Spaces:
Paused
Paused
Download start.sh from zhepamagod/cursor2api: direct link, hf CLI and curl.
- Browser
- Download file 310 Bytes
-
https://huggingface.co/spaces/zhepamagod/cursor2api/resolve/main/start.sh
- Command line
-
hf download hf://spaces/zhepamagod/cursor2api/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/zhepamagod/cursor2api/resolve/main/start.sh
310 Bytes
| # 编码:UTF-8 | |
| # 安装依赖 | |
| echo "install dependencies..." | |
| npm install --no-fund --quiet --no-audit | |
| # 检查上一个命令的退出状态 | |
| if [ $? -ne 0 ]; then | |
| echo "dependencies installation failed,maybe start application failed" | |
| fi | |
| # 启动应用 | |
| echo "start application..." | |
| npm start |