Skip to content

Commit 04577e9

Browse files
committed
minor #10238 [Deployment] Updated building assets in favor of Encore over Assetic (royklutman, javiereguiluz)
This PR was merged into the 3.4 branch. Discussion ---------- [Deployment] Updated building assets in favor of Encore over Assetic The deployment page isn't up-to-date since we're using Encore instead of Assetic. So in this PR I added a pre-deployment task referring to the explanation of deploying assets using Encore. I also removed the part about dumping the assets using Assetic. If someone could however take a look if I did the reference thing correct, that would be a great help. This PR would close #9887 and close #8094. Commits ------- 53602e6 Update deployment.rst 42498e6 Fixed underline 5375fd6 Added pre-deployment tasks and removed Assetic deployment 430acc6 Added reference to deploying assets
2 parents 5287c07 + 53602e6 commit 04577e9

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

deployment.rst

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -177,25 +177,16 @@ Make sure you clear and warm-up your Symfony cache:
177177
178178
$ php bin/console cache:clear --env=prod --no-debug
179179
180-
E) Dump your Assetic Assets
181-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
182-
183-
If you're using Assetic, you'll also want to dump your assets:
184-
185-
.. code-block:: terminal
186-
187-
$ php bin/console assetic:dump --env=prod --no-debug
188-
189-
F) Other Things!
180+
E) Other Things!
190181
~~~~~~~~~~~~~~~~
191182

192183
There may be lots of other things that you need to do, depending on your
193184
setup:
194185

195186
* Running any database migrations
196187
* Clearing your APC cache
197-
* Running ``assets:install`` (already taken care of in ``composer install``)
198188
* Add/edit CRON jobs
189+
* ref:`Building and minifying your assets <how-do-i-deploy-my-encore-assets>` with Webpack Encore
199190
* Pushing assets to a CDN
200191
* ...
201192

frontend/encore/faq.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FAQ and Common Issues
22
=====================
33

4+
.. _how-do-i-deploy-my-encore-assets:
5+
46
How do I deploy my Encore Assets?
57
---------------------------------
68

0 commit comments

Comments
 (0)