Skip to content

Commit 53af841

Browse files
authored
Update heroku-deployment.md
1 parent 737e6fc commit 53af841

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/additional-reading/heroku-deployment.md

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ The generator has created the necessary files and gems for deployment to Heroku.
55
+ `12factor` gem: required by Heroku if using a version before Rails 5 (see their [README](https://github.com/heroku/rails_12factor#rails-5) for more information if upgrading from a lower version)
66
+ `'puma'` gem: recommended Heroku webserver
77
+ `config/puma.rb`: Puma webserver config file
8+
+ `/package.json`: Top level package.json which must contain `"scripts": { "postinstall": "cd client && npm install" }`
9+
10+
If you want to see an updated example deployed to Heroku, please visit the [github.com/shakacode/react-webpack-rails-tutorial](https://github.com/shakacode/react-webpack-rails-tutorial).
811

912
## More details on precompilation using webpack to create JavaScript assets
1013
This is how the rake task gets modified. You should be able to call `clear_prerequisites` and setup your own custom precompile if needed.

0 commit comments

Comments
 (0)