Skip to content

Commit 2aef7f3

Browse files
committed
minor #10393 Minor improvements (ThomasLandauer)
This PR was squashed before being merged into the 3.4 branch (closes #10393). Discussion ---------- Minor improvements Commits ------- d2ef905 Minor improvements
2 parents ea475df + d2ef905 commit 2aef7f3

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

frontend/encore/faq.rst

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ FAQ and Common Issues
33

44
.. _how-do-i-deploy-my-encore-assets:
55

6-
How do I deploy my Encore Assets?
6+
How Do I Deploy My Encore Assets?
77
---------------------------------
88

99
There are two important things to remember when deploying your assets.
1010

11-
**1) Compile assets for production**
11+
**1) Compile Assets for Production**
1212

1313
Optimize your assets for production by running:
1414

@@ -19,11 +19,12 @@ Optimize your assets for production by running:
1919
That will minify your assets and make other performance optimizations. Yay!
2020

2121
But, what server should you run this command on? That depends on how you deploy.
22-
For example, you could execute this locally (or on a build server), and use rsync
23-
or something else to transfer the built files to your server. Or, you could put your
24-
files on your production server first (e.g. via a git pull) and then run this command
25-
on production (ideally, before traffic hits your code). In this case, you'll need
26-
to install Node.js on your production server.
22+
For example, you could execute this locally (or on a build server), and use
23+
[rsync](https://rsync.samba.org/) or something else to transfer the built files
24+
to your production server. Or, you could put your files on your production server
25+
first (e.g. via ``git pull``) and then run this command on production
26+
(ideally, before traffic hits your code). In this case, you'll need to install
27+
Node.js on your production server.
2728

2829
**2) Only Deploy the Built Assets**
2930

@@ -34,13 +35,13 @@ asset files, **unless** you plan on running ``encore production`` on your produc
3435
machine. Once your assets are built, these are the *only* thing that need to live
3536
on the production server.
3637

37-
Do I need to Install Node.js on my Production Server?
38+
Do I Need to Install Node.js on My Production Server?
3839
-----------------------------------------------------
3940

4041
No, unless you plan to build your production assets on your production server,
41-
which is not recommended. See `How do I deploy my Encore Assets?`_.
42+
which is not recommended. See `How Do I Deploy my Encore Assets?`_.
4243

43-
What Files Should I commit to git? And which should I Ignore?
44+
What Files Should I Commit to git? And which Should I Ignore?
4445
-------------------------------------------------------------
4546

4647
You should commit all of your files to git, except for the ``node_modules/`` directory

0 commit comments

Comments
 (0)