Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Connect mongolab using mongo shell in a heroku app.
#!/bin/bash
mongoctl connect `heroku config | grep -Po '(?<=MONGOLAB_URI: ).+'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment