Skip to content

Commit

Permalink
fix(database): run full setup for external couch
Browse files Browse the repository at this point in the history
* * *

This commit was sponsored by The Hoodie Firm.
You can hire The Hoodie Firm:

http://go.hood.ie/thehoodiefirm
  • Loading branch information
boennemann committed Aug 15, 2015
1 parent 95c4666 commit 0a307e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/database/index.js
Expand Up @@ -17,7 +17,11 @@ var log = require('../log')

var exports = module.exports = function (env_config, callback) {
if (!env_config.couch.run) {
return exports.checkExternalCouch(env_config.couch.url, callback)
return async.series([
async.apply(mkdirp, env_config.hoodie.data_path),
async.apply(exports.checkExternalCouch, env_config.couch.url),
async.apply(install, env_config)
], callback)
}

var project_dir = env_config.project_dir
Expand Down

0 comments on commit 0a307e7

Please sign in to comment.