Skip to content

Commit e5f5f85

Browse files
Update API endpoint configuration
1 parent 4ac0827 commit e5f5f85

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
**支持多语言**: C, Java, Python, SQL - 同一个问题,自由选择你喜欢的语言!
66

7+
## 💡 两种安装方式
8+
9+
- **bootcs**(推荐):容器版,无需配置环境,开箱即用
10+
- **bootcs-cli**:本地版,适合开发和调试
11+
712
## 🚀 30 秒上手
813

914
```bash
@@ -23,7 +28,7 @@ bootcs submit cs50/hello
2328

2429
## 📦 安装
2530

26-
### 推荐方式:一键安装
31+
### 推荐方式:容器版 bootcs(一键安装
2732

2833
```bash
2934
curl -fsSL https://raw.githubusercontent.com/bootcs-dev/bootcs-cli/main/scripts/install-docker.sh | bash
@@ -38,6 +43,20 @@ bootcs --version
3843
# 输出: bootcs 2.0.0
3944
```
4045

46+
### 开发者方式:本地版 bootcs-cli
47+
48+
```bash
49+
cd bootcs-cli
50+
pip install -e .
51+
```
52+
53+
验证:
54+
55+
```bash
56+
bootcs-cli --version
57+
# 输出: bootcs 2.0.0
58+
```
59+
4160
## 🔐 登录
4261

4362
首次使用需要登录 GitHub:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies = [
3838
dev = ["pytest>=7.0", "pytest-cov>=4.0", "black>=23.0", "ruff>=0.1"]
3939

4040
[project.scripts]
41-
bootcs = "bootcs.__main__:main"
41+
bootcs-cli = "bootcs.__main__:main"
4242

4343
[project.urls]
4444
Homepage = "https://bootcs.dev"

0 commit comments

Comments
 (0)