LoginSignup
0
1

More than 5 years have passed since last update.

herokuコマンドメモ

Last updated at Posted at 2018-01-31

herokuコマンド

herokuに作成されたアプリケーションを確認

heroku apps

addon追加

heroku addons:add sendgrid:starter

マイグレーション

heroku run rake db:migrate RAILS_ENV=production

rails console

heroku run rails console

再起動

heroku restart

環境設定の確認

heroku config

環境変数の登録

heroku config:add HOGE='hoge'

heroku設定

deviseの本番環境用設定

config/enviroments/production.rb
config.action_mailer.default_url_options = { host: '登録済App名.herokuapp.com' }
0
1
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
0
1