Fix in "A basic design document" #415

Closed
linuxnow opened this Issue Jul 12, 2011 · 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
O'Reilly Media member

resolved

@janl janl closed this Feb 23, 2012
@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 added a commit that referenced this issue Jun 21, 2012
@janl janl typo #415 #422 #428 e0be61f
@janl
O'Reilly Media member

Applied to ed1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment