diff options
author | gebele <gebele@in-silico.ch> | 2017-05-04 10:09:36 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2017-05-04 10:09:36 +0000 |
commit | b4a6b825c12b4aab1c661cf653e734291f365c6a (patch) | |
tree | 9aee4abff56f13180ad7cb88f9289b12257196e9 /update_prediction_models.rb | |
parent | 534f148aeb26e80ec6faa9410df7e0f193c2ab2c (diff) |
small adjustments
Diffstat (limited to 'update_prediction_models.rb')
-rw-r--r-- | update_prediction_models.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/update_prediction_models.rb b/update_prediction_models.rb index 496f7dc..31baa77 100644 --- a/update_prediction_models.rb +++ b/update_prediction_models.rb @@ -5,4 +5,7 @@ include OpenTox $mongo.database.drop $gridfs = $mongo.database.fs # recreate GridFS indexes -`mongorestore --host 127.0.0.1` +# uncomment to load in particular to local mongodb +#mongorestore --host 127.0.0.1 + +`mongorestore --host #{ CENTRAL_MONGO_IP.blank? ? "127.0.0.1" : CENTRAL_MONGO_IP}` |