diff options
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/tests/artifacts/mongodb/create_database.sh')
-rw-r--r-- | tosca2heat/tosca-parser/toscaparser/tests/artifacts/mongodb/create_database.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/tests/artifacts/mongodb/create_database.sh b/tosca2heat/tosca-parser/toscaparser/tests/artifacts/mongodb/create_database.sh new file mode 100644 index 0000000..16f1358 --- /dev/null +++ b/tosca2heat/tosca-parser/toscaparser/tests/artifacts/mongodb/create_database.sh @@ -0,0 +1,5 @@ +#!/bin/bash +echo "conn = new Mongo();" > setup.js +echo "db = conn.getDB('paypal_pizza');" >> setup.js +echo "db.about.insert({'name': 'PayPal Pizza Store'});" >> setup.js +mongo setup.js |