summaryrefslogtreecommitdiff
path: root/scripts/import-enm.rb
blob: 9cbe5d444a1101e3f1ce128479840ffd876209a4 (plain)
1
2
3
4
5
6
require_relative '../lib/lazar'
include OpenTox
$mongo.database.drop
$gridfs = $mongo.database.fs # recreate GridFS indexes
Import::Enanomapper.import
`mongodump -h 127.0.0.1 -d production`