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 練習 領域名の登録 タイムゾーン設定 mysql設定 メモ Application error

0
Last updated at Posted at 2019-12-14

herokuを使っていてエラーが良く出たのでメモを取りました

login後アプリケーションを登録からです

自分のアプリケーション用の領域を名前を付けて確保する

heroku create アプリケーションの領域名

タイムゾ-ン設定

heroku config:add TZ=Asia/Tokyo --app アプリケーション領域名

タイムゾーンの確認

heroku run date --app アプリケーション領域名

JSTで日本のタイムゾーンになっている

herokuでmysqlを設定

heroku addons:create cleardb:ignite --app アプリケーション領域名

heroku Application error

set HEROKU_DEBUG=1
heroku war:deploy アプリケーション.war --app アプリケーション領域名 --webapp-runner 8.0.50.0

アプリケーションのパスに日本語が含まれるとページにアクセスしても表示されないかったので
パスに日本語が含まれない位置に移動させデップロイすることで解決できました

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?