简体   繁体   中英

Heroku app doesn't work when create with the heroku CLI

I did heroku create and pushed a working rails app to the server.

Everything seems fine, but when I go to the webpage I get an error. I even tried pushing up the same code for another heroku app I have that works, and I get the same error.

Normally I use Facebook to create the heroku app and it works fine. Is there something else I need to do besides heroku create ?

There's a number of things that could be wrong. Your best bet is to check the logs:

heroku logs -t

While that's up, hit the site and see what the logs say. Did you remember to migrate ( heroku run rake db:migrate )?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM