Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix in "A basic design document" #415

Closed
linuxnow opened this Issue · 12 comments

7 participants

@linuxnow

Rhe second instruction is wrong:

curl -X PUT http://127.0.0.1:5984/basic
curl -X PUT http://127.0.0.1:5984/basic/_design/example -data-binarymydesign.json

It should be with double dash and @:
curl -X PUT http://127.0.0.1:5984/basic/_design/example --data-binary @mydesign.json

@pulkitsinghal

I vote for this too, I noticed the same issue in the instructions on this page:
http://guide.couchdb.org/draft/design.html

@pulkitsinghal

Same as #422

@mkenyon

Fixed in #428. Thanks for the dupe catch, @pulkitsinghal.

@massimiliano-giroldi

I can still find this issue in both online 1st Ed and draft.

@mkenyon

That's because my PR is still open. There's a PR from June still open.

@farser

Yep. Me too.

Thanks to the @Euroside (http://euroside.wordpress.com/2011/12/08/couchdb-definitive-guide-chapter-6-companion/) for expanding on that section of the book and for providing this noob with the correct command.

@janl
Owner

resolved

@janl janl closed this
@w0lfe

This is still online FYI

@mkenyon

The draft version of the book shows it fixed, @w0lfe. Maybe you are looking at the 1st edition? You are likely not going to find that updated.

@w0lfe

Yeah 1st ed, so the draft version is the one that is kept updated?

@mkenyon

That appears to be the case. The draft version does say that it accepts pull requests and welcomes issues.

@janl janl referenced this issue from a commit
@janl janl typo #415 #422 #428 e0be61f
@janl
Owner

Applied to ed1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.