diff options
Diffstat (limited to 'update_prediction_models.rb')
-rw-r--r-- | update_prediction_models.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/update_prediction_models.rb b/update_prediction_models.rb new file mode 100644 index 0000000..496f7dc --- /dev/null +++ b/update_prediction_models.rb @@ -0,0 +1,8 @@ +ENV["LAZAR_ENV"] = "production" +require_relative '../lazar/lib/lazar' +#require 'lazar' +include OpenTox +$mongo.database.drop +$gridfs = $mongo.database.fs # recreate GridFS indexes + +`mongorestore --host 127.0.0.1` |