Permalink
Browse files

Update README.md, fix installation script for Mac

Curl needs "Accept: application/json" in request header, else  call 
curl "https://api.github.com/repos/covexo/devspace/releases/latest" fails with following error message 
{
  "message": "Unsupported 'Accept' header: [#<Sinatra::Request::AcceptEntry:0x00007f8e4e2f8878 @Entry=\"application/vnd.heroku+json; version=3\", @type=\"application/vnd.heroku+json\", @params={\"version\"=>\"3\"}, @q=1.0>]. Must accept 'application/json'.",
  "documentation_url": "https://developer.github.com/v3/media"
}
  • Loading branch information...
zkhadikov committed Oct 9, 2018
1 parent 4069099 commit 452c368eb2b474eff607f8802a962aebb8283a48
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -43,7 +43,7 @@ curl --silent "https://api.github.com/repos/covexo/devspace/releases/latest" | s
### For Mac
```bash
curl --silent "https://api.github.com/repos/covexo/devspace/releases/latest" | sed -nE 's!.*"(https://github.com[^"]*devspace-darwin-amd64)".*!\1!p' | xargs -n 1 curl -L -o devspace && chmod +x devspace && sudo mv devspace /usr/local/bin
curl -s -H "Accept: application/json" "https://api.github.com/repos/covexo/devspace/releases/latest" | sed -nE 's!.*"(https://github.com[^"]*devspace-darwin-amd64)".*!\1!p' | xargs -n 1 curl -L -o devspace && chmod +x devspace && sudo mv devspace /usr/local/bin
```
## [Quickstart](https://devspace.covexo.com/docs/getting-started/quickstart.html)

0 comments on commit 452c368

Please sign in to comment.