5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

heroku デプロイ後のアプリ更新反映

Last updated at Posted at 2020-10-07

1 変更をステージングする

> git add -A  #-A は変更を加えた全ての変更をステージングさせる
もしくは、
> git add 特定のファイル名  

2ステージングした変更をコミットする

> git commit -m "コメント"

3 コミットした変更をHeroku上のアプリにPushする

> git push heroku master

4 migrate

$ heroku run rake db:migrate
#seedも更新する場合は
$ heroku run rake db:seed
5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?