Reputation: 249
This works on my amazon EC2
node app.js
Express server listening on port 3000
But when I do this
git add .
git commit -m "Added everything"
git push staging-heroku staging:master
Everything up to date
And I go to myapp-s.heroku.com I get this
"Check your logs for details"
How do I check my logs to see what's wrong?
If I do this
git checkout staging
git commmit -m "Added stuff"
git push origin staging
And I go to
github.com/MyName/MyApp/tree/staging
everything's all there. It should be working fine on Heroku but I can't see what went wrong.
I tried
heroku logs
Enable Logplex by [email protected]
Release v2 created by [email protected]
I still don't see how to find out what's going wrong with my heroku deployment :(
If you're having the same problem as me, try going to the heroku website and adding a dyno to app.js
Upvotes: 0
Views: 57
Reputation: 37507
Take a read of the Heroku guides
https://devcenter.heroku.com/articles/logging#log-retrieval
Upvotes: 1