I am writing my first ever ruby on rails app.
Locally its great, I can visit localhost:3000/ and get the default landing page, and I can visit /users to interact with a scaffold object called User.
I am using postgresql for my db and this again works locally.
I want to deploy this project to heroku. I make sure git is pushed to heroku, which it is, I also ran heroku addons:add heroku-postgresql:development
and i also run heroku run rake db:migrate
which completes with no output.
When I visit my applications URL I see nothing :https://whats-on-today.herokuapp.com/ Heroku logs shows a http 404:
2014-12-02T17:03:48.311284+00:00 heroku[router]: at=info method=GET path="/" host=whats-on-today.herokuapp.com request_id=fcb9cc27-e5eb-4760-bc30-8a72fe2f0bbc fwd="195.212.29.67" dyno=web.1 connect=1ms service=10ms status=404 bytes=1829
I am not sure why I can access the root url http://localhost:3000/
locally no problem, on deployment to heroku I see nothing? There is nothing much of use in the logs other than the 404. What is my deployed http path? Surely this should work if it works locally?
Can somebody please help?