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

docs: recommend installing binaries for pcli & pd #3442

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

conorsch
Copy link
Contributor

Updates the guide docs to prefer installing prebuilt binaries, linking out to instructions on compiling from source as an alternative. We also clarify that Windows is not a first-class build target.

Closes #3320.

Updates the guide docs to prefer installing prebuilt binaries, linking
out to instructions on compiling from source as an alternative.
We also clarify that Windows is not a first-class build target.

Closes #3320.
Reimplements the non-cargo, installed-path command invocations for both
pcli and pd. This assumes that folks have installed the binaries from
the release page. If folks want to compile from source, then they can
use `cargo run` or `./target/release/<bin>` themselves.

Refs #1976.
@conorsch conorsch force-pushed the docs-install-binaries branch from 544e217 to 8ab04b9 Compare November 29, 2023 00:58
@conorsch conorsch marked this pull request as ready for review November 29, 2023 00:58
extract it, and copy its contents to your `$PATH`. For example:

```
curl -O -L https://github.com/penumbra-zone/penumbra/releases/download/{{ #include ../penumbra_version.md }}/pd-x86_64-unknown-linux-gnu.tar.xz
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The #include helper is a dope trick and I'm glad we have it now: there's a single point of update to modify the version number across the whole guide.

curl -O -L https://github.com/penumbra-zone/penumbra/releases/download/{{ #include ../penumbra_version.md }}/pcli-x86_64-unknown-linux-gnu.tar.xz
unxz pcli-x86_64-unknown-linux-gnu.tar.xz
tar -xf pcli-x86_64-unknown-linux-gnu.tar
sudo mv pcli-x86_64-unknown-linux-gnu/pcli /usr/local/bin/
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nit: should we use a macOS arch for the pcli example? I think saying explicitly: "Make sure choose the correct platform for your machine" is good enough, but open to feedback.

@conorsch conorsch merged commit b56de25 into main Dec 4, 2023
5 checks passed
@conorsch conorsch deleted the docs-install-binaries branch December 4, 2023 16:19
conorsch added a commit that referenced this pull request Dec 4, 2023
Bumps the recommended version of pcli to v0.63.3, to match the latest
point release [0]. Also removes the `cargo run` invocations to match
the recent change to the docs, to recommend installing binaries over
compiling from source [1].

[0] #3469
[1] #3442
conorsch added a commit that referenced this pull request Dec 4, 2023
Bumps the recommended version of pcli to v0.63.3, to match the latest
point release [0]. Also removes the `cargo run` invocations to match
the recent change to the docs, to recommend installing binaries over
compiling from source [1].

[0] #3469
[1] #3442
conorsch added a commit that referenced this pull request Dec 8, 2023
Bumps the recommended version of pcli to v0.63.3, to match the latest
point release [0]. Also removes the `cargo run` invocations to match
the recent change to the docs, to recommend installing binaries over
compiling from source [1].

[0] #3469
[1] #3442
conorsch added a commit that referenced this pull request Dec 8, 2023
Bumps the recommended version of pcli to v0.63.3, to match the latest
point release [0]. Also removes the `cargo run` invocations to match
the recent change to the docs, to recommend installing binaries over
compiling from source [1].

[0] #3469
[1] #3442
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.

docs: recommend installing binaries
1 participant