summaryrefslogtreecommitdiff
path: root/scripts/import-enm.rb
blob: 4fb414b7225f4cd18ac45e1e0f937188dafe3c73 (plain)
1
2
3
4
5
6
7
#!/usr/bin/env ruby
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`