Merge branch 'docs'
This commit is contained in:
commit
de72ebf232
12
README.md
12
README.md
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue