Skip to content

Commit

Permalink
Merge pull request #163 from JoeHut/jh/docs
Browse files Browse the repository at this point in the history
Update Getting Started Documentation to reflect current state of implementation
  • Loading branch information
mara-schulke committed Nov 6, 2023
2 parents 2f8b0b3 + c2f3296 commit 25cc3d6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions docs/src/getting-started/first-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,19 @@ your protocol buffers as a package.
Let us define a dependency of the webserver on a hypothetical library
called `user` in the `datatypes` repository.

This is done by editing the manifest or by invoking `buffrs add`:
This is done by invoking `buffrs add`:

```bash
$ buffrs add --registry https://your.registry.com datatypes/user@=0.1.0
```

The result is a dependency in the `Proto.toml`:

```toml
[dependencies]
user = { version = "0.1.0", repository = "datatypes" }
[dependencies.user]
version = "=0.1.0"
repository = "datatypes"
registry = "https://your.registry.com/"
```

### Going further
Expand Down
2 changes: 1 addition & 1 deletion docs/src/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ artifactory instance (which will be replaced by the Buffrs Registry in Q4
Logging in to your instance is done using the following `buffrs` command:

```bash
buffrs login --url https://<organization>.jfrog.io/artifactory
buffrs login --registry https://<organization>.jfrog.io/artifactory
```

You will be prompted for an artifactory identity token which you can create
Expand Down

0 comments on commit 25cc3d6

Please sign in to comment.