Skip to content

Commit

Permalink
Add Heroku deployment hint to /docs/deployment.rb (shakacode#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
cseelus authored Mar 17, 2023
1 parent 344808c commit 0e75224
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ We're essentially doing the following here:
* Adding the Heroku NodeJS and Ruby buildpacks for your app. This allows the `npm` or `yarn` executables to properly function when compiling your app - as well as Ruby.
* Pushing your code to Heroku and kicking off the deployment

Your production build process is responsible for running `yarn install` before `rake assets:precompile`. For example, if you are on Heroku, the `heroku/nodejs` buildpack must run **prior** to the `heroku/ruby` buildpack for precompilation to run successfully.

## Nginx

Webpacker doesn't serve anything in production. You’re expected to configure your web server to serve files in public/ directly.
Expand Down

0 comments on commit 0e75224

Please sign in to comment.