Heroku code=H10 desc=“App crashed” - Can't figure out why it's crashing

前端 未结 6 1605
迷失自我
迷失自我 2020-12-09 08:50

I\'ve been searching around on this one for a while and can\'t find anything that seems to be applicable in my situation. I\'ve been staring at these logs and I can\'t see w

6条回答
  •  时光说笑
    2020-12-09 09:37

    To create a heroku account

     $heroku create
    

    To verify your git configration is well

    $git remote -v
    

    Associate a Git repo with an existing application

    $heroku git:remote -a herokuapp-name
    

    To perform push to master

    $git push heroku master
    

    To get your database to work you will have to migrate to production database

    $heroku run bundle exec rake db:migrate
    

    Then restart

    heroku restart
    

    finaly browse to your location

提交回复
热议问题