Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新Mac的安装教程 #2230

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

更新Mac的安装教程 #2230

wants to merge 4 commits into from

Conversation

1pzq
Copy link

@1pzq 1pzq commented Jul 19, 2024

Summary

更新Mac的安装教程

  • Closes #issue

Copy link

vercel bot commented Jul 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jul 19, 2024 2:43pm
rooch-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 19, 2024 2:43pm

@@ -65,6 +65,39 @@ cp target/debug/rooch.exe ~/.cargo/bin/
```

### macOS
#### 第一步,从 [github release page](https://github.com/rooch-network/rooch/releases) 下载
`rooch-macos-latest.zip`,解压文件并将二进制文件移动到 `~/.local/bin/` 中
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这不属于编译安装

#### 第一步,从 [github release page](https://github.com/rooch-network/rooch/releases) 下载
`rooch-macos-latest.zip`,解压文件并将二进制文件移动到 `~/.local/bin/` 中

#### 第二步,克隆源码
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这是第一步

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议像本文档前面部分关于 linux 安装步骤的描述修改 mac 相关的步骤

```
如果遇到报错
```shell
Error: Could not find `protoc`. If `protoc` is installed, try setting the `PROTOC` environment variable to the path of the `protoc` binary. To install it on macOS, run `brew install protobuf`. It is also available at https://github.com/protocolbuffers/protobuf/releases For more information: https://docs.rs/prost-build/#sourcing-protoc
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这属于依赖,参考其它 platform 的描述

```
如果运行的时候出现下面报错
```shell
zsh: command not found: rooch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zsh 只是一种 shell,这里没必要描述 $PATH 配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants