0
0

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 5 years have passed since last update.

Heroku Command

Last updated at Posted at 2016-05-03

show info

heroku info

show key

heroku keys

check env

heroku config

confirm addons

heroku addons

Add addons

heroku addons:create papertrail

run command

heroku run "ls -l"

rails console

heroku run rails console

check log

heroku logs
heroku logs --tail

check status

heroku ps

スケジューラーの追加

heroku addons:add scheduler:standard 

スケジュール画面を開く

https://addons-sso.heroku.com/apps/3b8ec3ad-ad86-4839-8ff4-1e0f400eb6a3/addons/3d312221-4d73-476f-9dff-4fafc4c22f6f 

Domainを指定

heroku domains:add hostname

databaseを再構築

heroku pg:reset DATABASE

restart

heroku restart

migrate

heroku rake db:migrate

Add onの追加

heroku addons:add sendgrid

sendgridのユーザー名確認

heroku config:get SENDGRID_USERNAME

sendgridのパスワード確認

heroku config:get SENDGRID_PASSWORD
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?