I would like to create a new one-page application using Rails 4 and Angular and Capistrano for the deployment process. I want the whole front end to be a static application on Amazon S3 , but I am open to other suggestions. What matters to me is a fast-paced process that can scale easily.
I was wondering what is the best structure I should use:
save all assets in the application / assets and set the Bower path to the vender directory. that way, I can use rails precompilation methods and use the Rails html tags for index.html, but I'm sure it will be easy to upload it to S3 and leave it divided.
save all assets, including Bower components in the public / app directory, which will save it as a complete separate application, but then I need to use Grunt or any other service to precompile the assets.
any other idea?
source
share