We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb47bce commit 091c4baCopy full SHA for 091c4ba
README.md
@@ -23,6 +23,36 @@ CS50 是哈佛大学的计算机科学入门课程,由 David J. Malan 教授
23
24
## 本地自测
25
26
+### 方式一:安装 bootcs 命令(推荐)
27
+
28
+**macOS / Linux:**
29
30
+```bash
31
+curl -fsSL https://bootcs.cn/install.sh | bash
32
+```
33
34
+安装后直接使用:
35
36
37
+bootcs check cs50/credit
38
39
40
+### 方式二:直接使用 Docker
41
42
```bash
43
docker run --rm -v $(pwd):/workspace ghcr.io/bootcs-cn/bootcs-cli:cs50 check cs50/<stage>
44
```
45
46
+### 方式三:设置别名
47
48
+将以下内容添加到 `~/.zshrc` 或 `~/.bashrc`:
49
50
51
+alias bootcs='docker run --rm -v $(pwd):/workspace ghcr.io/bootcs-cn/bootcs-cli:cs50'
52
53
54
+然后使用:
55
56
57
58
0 commit comments