Skip to content

Instantly share code, notes, and snippets.

@PharaohKJ
Forked from izawa/gist:058019c5d88e8d65203c
Created June 21, 2014 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PharaohKJ/bf712f9eb13abd9718b4 to your computer and use it in GitHub Desktop.
Save PharaohKJ/bf712f9eb13abd9718b4 to your computer and use it in GitHub Desktop.
% 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