Skip to content

Commit 631a161

Browse files
Nicholas Rutherfordseanpdoyle
authored andcommitted
Document Reducing Heroku Slug size
Closes #491. [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]: #491
1 parent d73b72f commit 631a161

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,16 @@ applications into the project.
278278

279279
[buildpack]: https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app#adding-a-buildpack
280280

281+
#### Slug size
282+
283+
[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.
284+
285+
Omitting these build assets can dramatically reduce slug size.
286+
287+
A build-pack solution for this is discussed in [Issue #491][#491].
288+
289+
[#491]: https://github.com/thoughtbot/ember-cli-rails/issues/491
290+
281291
### Capistrano
282292

283293
EmberCLI-Rails executes both `npm install` and `bower install` during EmberCLI's
@@ -304,7 +314,7 @@ contains the directory or directories that contain the `bower` and `npm`
304314
executables.
305315

306316
#### For faster deployments
307-
Place the following in your deploy/<environment>.rb
317+
Place the following in your deploy/<environment>.rb
308318
```ruby
309319
set :linked_dirs, %w{<ember-app-name>/node_modules <ember-app-name>/bower_components}
310320
```

0 commit comments

Comments
 (0)