Created
November 15, 2013 14:07
-
-
Save abn/7484805 to your computer and use it in GitHub Desktop.
Convenience wrapper script to interact with mongofiles on openshift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Wrapper script interact with mongofiles | |
MONGOFILES_CMD="mongofiles \ | |
-u $OPENSHIFT_MONGODB_DB_USERNAME \ | |
-p $OPENSHIFT_MONGODB_DB_PASSWORD \ | |
-h $OPENSHIFT_MONGODB_DB_HOST \ | |
--port $OPENSHIFT_MONGODB_DB_PORT \ | |
-d $OPENSHIFT_APP_NAME" | |
$MONGOFILES_CMD $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment