Skip to content

Instantly share code, notes, and snippets.

@anthonycrumley
Created November 16, 2016 17:31
Show Gist options
  • Save anthonycrumley/d9aff42554a85097eaa976f1bdd5dc4a to your computer and use it in GitHub Desktop.
Save anthonycrumley/d9aff42554a85097eaa976f1bdd5dc4a to your computer and use it in GitHub Desktop.
A command for running a script with credentials from Heroku
DATABASE_URL=$(heroku config:get DATABASE_URL -a ednetwork) MONGOHQ_URL=$(heroku config:get MONGOHQ_URL -a ednetwork) irb scripts/migrate_members.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment