README.md in ember-cli-rails-0.8.1 vs README.md in ember-cli-rails-0.8.2

- old
+ new

@@ -276,10 +276,20 @@ **NOTE** Run the generator each time you introduce additional EmberCLI applications into the project. [buildpack]: https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app#adding-a-buildpack +#### Slug size + +[Heroku slug size is limited](https://devcenter.heroku.com/articles/slug-compiler#slug-size). The build process creates artifacts that are not necessary for the server to run, but are included in the deployed Heroku slug. + +Omitting these build assets can dramatically reduce slug size. + +A build-pack solution for this is discussed in [Issue #491][#491]. + +[#491]: https://github.com/thoughtbot/ember-cli-rails/issues/491 + ### Capistrano EmberCLI-Rails executes both `npm install` and `bower install` during EmberCLI's compilation, triggered by the `asset:precompilation` rake task. @@ -302,11 +312,11 @@ you're not using `nvm`, make sure the string you prepend to the `$PATH` variable contains the directory or directories that contain the `bower` and `npm` executables. #### For faster deployments -Place the following in your deploy/<environment>.rb +Place the following in your deploy/<environment>.rb ```ruby set :linked_dirs, %w{<ember-app-name>/node_modules <ember-app-name>/bower_components} ``` to avoid rebuilding all the node modules and bower components with every deploy. Replace `<ember-app-name>` with the name of your ember app (default is `frontend`). @@ -454,30 +464,30 @@ mount_ember_app :frontend, to: "/" mount_ember_app :admin_panel, to: "/admin_panel" end ``` -Then set each Ember application's `baseURL` to the mount point: +Then set each Ember application's `rootURL` to the mount point: ```javascript // frontend/config/environment.js module.exports = function(environment) { var ENV = { modulePrefix: 'frontend', environment: environment, - baseURL: '/', + rootURL: '/', // ... } }; // path/to/admin_ember_app/config/environment.js module.exports = function(environment) { var ENV = { modulePrefix: 'admin_panel', environment: environment, - baseURL: '/admin_panel', // originally '/' + rootURL: '/admin_panel', // originally '/' // ... } }; ```