LoginSignup
18
27

More than 1 year has passed since last update.

herokuでデプロイした後の更新の仕方(2回目以降)

Last updated at Posted at 2020-05-26

前提

変更分をGitHubデスクトップでコミット、プッシュしておく。

手順

① herokuにログイン

ターミナル
$heroku login

② herokuにデプロイ

ターミナル
$git push heroku master

③ herokuでのマイグレーション

ターミナル
$heroku run rails db:migrate
18
27
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
18
27