summaryrefslogtreecommitdiff
path: root/update_prediction_models.rb
blob: 496f7dc4aae32be5873d31e9c065aa8a9379fab9 (plain)
1
2
3
4
5
6
7
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`