Skip to content

y-dashev/heroku_db_importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby script so for importing heroku PG database to a project.

In case you are using the 'fish' terminal you need to add the function with the path to the script Like so:

function pg_db_import # or you can name it as you want 
  [$your absolute path to - pg_db_import.rb] $argv
end

Then you can use the script to get the heroku db and hook it with the local one :) STILL NEEDS TO BE TESTED!

example usage:

// In your root folder
rubycode --app_name "[APPNAME]" --db_name '[LOCAL_DB_NAME]'  -u '[LOCAL USERNAME][OPTIONAL]'

About

Import Postgres DB from Heroku to local project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages