I would like to know what the best way is to run an
ember.js application on the same machine as the Rails API server, where the ember-app RESTadapter is configured to make calls to the backend
The ember app should go in the document root, and any calls it makes to
/api/v1 need to be passed to the rails app which is running here:
Right now I can deploy my Rails API server using capistrano, and I would like to do the same with the ember app and combine the process into a single cap script.
What is the best practice for this setup?