Skip to content

Commit 93c0831

Browse files
authored
Update deployment.md
Fix some inconsistent formatting.
1 parent a715e05 commit 93c0831

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/deployment.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
Webpacker hooks up a new `webpacker:compile` task to `assets:precompile`, which gets run whenever you run `assets:precompile`.
44
If you are not using Sprockets `webpacker:compile` is automatically aliased to `assets:precompile`.
55

6-
```
7-
86
## Heroku
97

108
In order for your Webpacker app to run on Heroku, you'll need to do a bit of configuration before hand.
@@ -19,10 +17,10 @@ git push heroku master
1917

2018
We're essentially doing the following here:
2119

22-
* Creating an app on Heroku
23-
* Creating a Postgres database for the app (this is assuming that you're using Heroku Postgres for your app)
20+
* Creating an app on Heroku.
21+
* Creating a Postgres database for the app (this is assuming that you're using Heroku Postgres for your app).
2422
* 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.
25-
* Pushing your code to Heroku and kicking off the deployment
23+
* Pushing your code to Heroku and kicking off the deployment.
2624

2725
## Nginx
2826

@@ -78,7 +76,7 @@ If you want to serve Brotli compressed files with nginx, you will need to instal
7876

7977
Once installed, you need to load the module. As we want to serve the pre-compressed files, we only need the static module. Add the following line to your `nginx.conf` file and reload nginx:
8078

81-
```
79+
```nginx
8280
load_module modules/ngx_http_brotli_static_module.so;
8381
```
8482

0 commit comments

Comments
 (0)