summaryrefslogtreecommitdiff
path: root/mongodb/mongo-opendc-schema.sh
diff options
context:
space:
mode:
authorjc0b <j.burley@vu.nl>2020-05-11 20:43:03 +0200
committerjc0b <j.burley@vu.nl>2020-06-09 14:51:50 +0200
commit4f8612501ed5cf9653aa6ab14c8455605f56464b (patch)
tree754a3ae7e1822184be5a195a90e30108bcebe24f /mongodb/mongo-opendc-schema.sh
parent3e182d0476637fca2ee618d26aa6776f0e20b2c7 (diff)
Added mongodb dockerfile, removed tests being added to sql db
Diffstat (limited to 'mongodb/mongo-opendc-schema.sh')
-rw-r--r--mongodb/mongo-opendc-schema.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/mongodb/mongo-opendc-schema.sh b/mongodb/mongo-opendc-schema.sh
deleted file mode 100644
index 7fd9d10f..00000000
--- a/mongodb/mongo-opendc-schema.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-echo 'Creating opendc db schema...'
-
-$MONGO_CMD = "mongo opendc --host localhost --port 27017 -u $OPENDC_DB_USERNAME -p $OPENDC_DB_PASSWORD --authenticationDatabase opendc"
-
-eval $MONGO_COMMAND --eval "db.createCollection('environments'); db.createCollection('rooms'); db.createCollection('datacenters');" \ No newline at end of file