Last active
August 29, 2015 14:02
-
-
Save izawa/058019c5d88e8d65203c 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
% git clone https://github.com/keiko713/rails-todo.git | |
% cd rails-todo | |
% bundle install --without production | |
% foreman run bundle exec rake db:migrate | |
% foreman start | |
localhost:5000 で確認する。 | |
% Heroku create | |
% git remote -v | |
% heroku rename <keiko-todo> ←なにかわかりやすい名前 | |
% git push heroku master | |
% heroku run rake db:migrate | |
% heroku open | |
heroku への deploy で ssh の鍵がdefault で違っているひとは、 | |
~/.ssh/Config に | |
host heroku.com | |
IdentityFile ~/.ssh/id_rsa-heroku | |
こんな風に書くと良い。 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment