Now, we can shutdown ember server and visit localhost:3000, we can still see our ember app there.

To deploy our app we need to deploy our rails app only. We can put out both frontend and backend in single repo or in different repo. I have put both in a single repo. Do config.serve_static_assets = true in production.rb We can deploy like any other rails app. I have deployed this app to heroku. One gotcha is that heroku expects the app directory structure at the root of the repository. So to deploy we will have to push differently: