Created
September 4, 2009 01:03
-
-
Save mortenbagai/180659 to your computer and use it in GitHub Desktop.
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/migrate newfisk [email protected] | |
** App Name newfisk | |
** App ID 55811 | |
** Pulling code from S3 | |
** Untarring code tp /tmp/hg933960/ | |
** Git commiting all open changes in the garden working tree | |
$ git add . | |
$ git commit -m 'Heroku Garden Export' -a | |
** Pulling Data From S3 -> herokugarden.com/app55811/ | |
** Creating temp local postgres database and user | |
$ createuser -h 127.0.0.1 -SDRl hg933960 | |
$ createdb -h 127.0.0.1 -O hg933960 hg933960 | |
$ psql -h 127.0.0.1 hg933960 hg933960 -f /tmp/hg933960.dump | |
** Done. | |
$ heroku create newfisk | |
** name newfisk already taken on heroku - trying again | |
$ heroku create newfisk16 | |
Created http://newfisk16.heroku.com/ | [email protected]:newfisk16.git | |
$ heroku config:add RACK_ENV=development --app newfisk16 | |
Adding config vars: | |
RACK_ENV => development | |
Restarting app...done. | |
$ heroku db:push postgres://hg933960:[email protected]/hg933960 --app newfisk16 | |
Sending schema | |
Sending data | |
7 tables, 843 records | |
Sending indexes | |
Resetting sequences | |
$ git push [email protected]:newfisk16.git master | |
/opt/local/lib/ruby/gems/1.8/gems/rush-0.5/lib/rush/local.rb:315:in `bash': Identity added: /Users/morten/code/garden/.ssh/id_rsa (/Users/morten/code/garden/.ssh/id_rsa) (Rush::BashFailed) | |
[email protected] not authorized for edit access to that app | |
fatal: The remote end hung up unexpectedly | |
from /opt/local/lib/ruby/gems/1.8/gems/rush-0.5/lib/rush/box.rb:75:in `bash' | |
from /opt/local/lib/ruby/gems/1.8/gems/rush-0.5/lib/rush/dir.rb:123:in `bash' | |
from /Users/morten/code/garden/lib/garden_app.rb:76:in `migrate_bash' | |
from /Users/morten/code/garden/lib/garden_app.rb:67:in `local_to_heroku' | |
from /Users/morten/code/garden/lib/garden_app.rb:29:in `migrate' | |
from bin/migrate:32 | |
tubbs:garden morten$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment