updated readme

This commit is contained in:
Max Thayer 2013-09-06 09:49:38 -04:00
parent 0b295a3e15
commit 6d078f72de
1 changed files with 7 additions and 5 deletions

View File

@ -10,9 +10,7 @@ grunt-couchapp`
Then add this line to your project's `grunt.js` gruntfile: 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 [grunt]: https://github.com/cowboy/grunt
[getting_started]: https://github.com/cowboy/grunt/blob/master/docs/getting_started.md [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: { mkcouchdb: {
demo: { 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', db: 'http://localhost:5984/grunt-couchapp-demo',
app: './demo/app.js', app: './demo/app.js',
options: { options: {
okay_if_missing: true okay_if_missing: true,
okay_if_exists: true
} }
} }
} }