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 for setting up dev env with branches from other services/repos #227

Closed
PVince81 opened this issue Apr 27, 2020 · 2 comments
Closed

Comments

@PVince81
Copy link
Contributor

Here are my notes to add docs about setting up dev env with other branches:

The example focusses on checking out a specific PR for a change in the reva repo:

  1. Use the README info to setup the basic ocis dev env: https://github.com/owncloud/ocis/blob/master/README.md
  2. Clone the reva repo 'git clone https://github.com/cs3org/reva.git`
  3. Install the hub command to checkout PRs from forks
  4. In the "reva" repo, checkout the PR for ocdav which is tus for ocdav cs3org/reva#674, using the command: hub pr checkout 674
  5. In the "ocis" checkout, edit "go.mod" and append the following line:
replace github.com/cs3org/reva => ../reva

the path "../reva" is the path to your reva checkout
(this will replace the reva library "deep replace" as used by other deps like ocis-reva)

  1. then in the "ocis" checkout, run the compilation always with make clean build (don't forget the clean)
  2. then run the ocis server with: bin/ocis server
  3. test that you can connect with curl: curl -u einstein:relativity -X PROPFIND -k https://localhost:9200/remote.php/webdav/ | xmllint --format -
@PVince81
Copy link
Contributor Author

@refs refs closed this as completed Jan 12, 2021
@refs
Copy link
Member

refs commented Jan 12, 2021

The getting started section on the docs should cover this concerns 👍 (https://owncloud.github.io/ocis/development/getting-started/)

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

No branches or pull requests

2 participants