Skip to content

Commit

Permalink
[docs-only] Run make build instead of make (#1658)
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong authored Apr 26, 2021
1 parent d1d113e commit 4760859
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,21 @@ Read the [getting started guide](https://reva.link/docs/getting-started/) and th


## Build and run it yourself
You need to have [Go](https://golang.org/doc/install), [git](https://git-scm.com/) and [make](https://en.wikipedia.org/wiki/Make_(software)) installed.
You need to have [Go](https://golang.org/doc/install), [git](https://git-scm.com/) and [make](https://en.wikipedia.org/wiki/Make_(software)) installed. Some of these commands may require `sudo`, depending on your system setup.

```
$ git clone https://github.com/cs3org/reva
$ cd reva
$ make deps
$ make
$ cd examples/storage-references
$ ../../cmd/revad/revad -dev-dir .
$ make build
$ mkdir -p /etc/revad
$ cp examples/storage-references/users.demo.json /etc/revad/users.json
$ cp examples/storage-references/groups.demo.json /etc/revad/groups.json
$ cp examples/storage-references/providers.demo.json /etc/revad/ocm-providers.json
$ cmd/revad/revad -dev-dir examples/storage-references
```

You can also read the [build from sources guide](https://reva.link/docs/getting-started/build-reva/).
You can also read the [build from sources guide](https://reva.link/docs/getting-started/build-reva/) and the [setup tutorial](https://github.com/cs3org/reva/blob/master/docs/content/en/docs/tutorials/setup-tutorial.md).

## Run tests

Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/docs/getting-started/build-reva.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ the Go programming language that installs the Go compiler.
git clone https://github.com/cs3org/reva
cd reva
make deps
make
make build
```
3 changes: 2 additions & 1 deletion docs/content/en/docs/tutorials/setup-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@ Reva daemons are spawned using configuration specified in `toml` format. Multipl
G: gRPC exposed service
```

You can start these three daemons using the `-dev-dir` flag which fires up a daemon for each toml file in a directory. The user, group and mesh provider services use JSON files by default as their data store, and expects these to be located at `/etc/revad`.
You can start these three daemons using the `-dev-dir` flag which fires up a daemon for each toml file in a directory. The user, group and mesh provider services use JSON files by default as their data store, and expects these to be located at `/etc/revad`. Some of these commands may require `sudo`, depending on your system setup.

```
> mkdir -p /var/tmp/reva
> mkdir -p /etc/revad
> cp examples/storage-references/users.demo.json /etc/revad/users.json
> cp examples/storage-references/groups.demo.json /etc/revad/groups.json
> cp examples/storage-references/providers.demo.json /etc/revad/ocm-providers.json
Expand Down

0 comments on commit 4760859

Please sign in to comment.