From 6d078f72de05c2a3422655f482b46b948212d3bf Mon Sep 17 00:00:00 2001 From: Max Thayer Date: Fri, 6 Sep 2013 09:49:38 -0400 Subject: [PATCH] updated readme --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f043944..e07590b 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,7 @@ grunt-couchapp` Then add this line to your project's `grunt.js` gruntfile: -```javascript -grunt.loadNpmTasks('grunt-couchapp'); -``` + grunt.loadNpmTasks('grunt-couchapp'); [grunt]: https://github.com/cowboy/grunt [getting_started]: https://github.com/cowboy/grunt/blob/master/docs/getting_started.md @@ -26,7 +24,10 @@ which installs a specified couchapp into the database. mkcouchdb: { demo: { - db: 'http://localhost:5984/grunt-couchapp-demo' + db: 'http://localhost:5984/grunt-couchapp-demo', + options: { + okay_if_exists: true + } } }, @@ -54,7 +55,8 @@ possible to write in your configuration file: db: 'http://localhost:5984/grunt-couchapp-demo', app: './demo/app.js', options: { - okay_if_missing: true + okay_if_missing: true, + okay_if_exists: true } } }