Skip to content

Commit

Permalink
AG-1640: improvement from review
Browse files Browse the repository at this point in the history
  • Loading branch information
hallieswan committed Jan 31, 2025
1 parent ead7cef commit 7982324
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions import-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ mongoimport -h $DB_HOST -d agora -u $DB_USER -p $DB_PASS --authenticationDatabas
mongoimport -h $DB_HOST -d agora -u $DB_USER -p $DB_PASS --authenticationDatabase admin --collection proteomicssrm --jsonArray --drop --file $DATA_DIR/proteomics_srm.json
mongoimport -h $DB_HOST -d agora -u $DB_USER -p $DB_PASS --authenticationDatabase admin --collection genesbiodomains --jsonArray --drop --file $DATA_DIR/genes_biodomains.json
mongoimport -h $DB_HOST -d agora -u $DB_USER -p $DB_PASS --authenticationDatabase admin --collection biodomaininfo --jsonArray --drop --file $DATA_DIR/biodomain_info.json

echo "Importing dataversion from ${DATAVERSION_PATH}"
mongoimport -h $DB_HOST -d agora -u $DB_USER -p $DB_PASS --authenticationDatabase admin --collection dataversion --jsonArray --drop --file $DATAVERSION_PATH

mongosh --host $DB_HOST -u $DB_USER -p $DB_PASS --authenticationDatabase admin $WORKING_DIR/create-indexes.js
Expand Down

0 comments on commit 7982324

Please sign in to comment.