Offline generation
#2507
-
Hi, based on the tour, I've cloned the repository and wanted to generate the proto files without internet access. Unfortunately, this fails. Is this possible somehow, e.g. by vendoring the dependencies? Reproduce Clone tour repo: ➜ git clone https://github.com/bufbuild/buf-tour
➜ cd buf-tour/finish/getting-started-with-buf-cli Go offline and run: ➜ buf generate proto
Failure: the server hosted at that remote is unavailable. Are you sure "buf.build" is a valid remote address? |
Beta Was this translation helpful? Give feedback.
Answered by
sj14
Oct 19, 2023
Replies: 1 comment
-
Nevermind, I think I found the answer. You can set a path to the locally installed tool https://buf.build/docs/configuration/v1/buf-gen-yaml#path. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sj14
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nevermind, I think I found the answer. You can set a path to the locally installed tool https://buf.build/docs/configuration/v1/buf-gen-yaml#path.