Skip to content

Commit 5375fd6

Browse files
committed
Added pre-deployment tasks and removed Assetic deployment
1 parent 430acc6 commit 5375fd6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

deployment.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,16 @@ Basic scripting
108108
You can of course use shell, `Ant`_ or any other build tool to script
109109
the deploying of your project.
110110

111+
Common Pre-Deployment Tasks
112+
----------------------------
113+
114+
Before deploying your Symfony project, there are a number of common tasks you might need to do:
115+
116+
A) Building and Minifying your Assets
117+
~~~~~~~~~~~~~~~~~~~~
118+
119+
Follow these steps to get started building and minifying your assets: :ref:`how-do-i-deploy-my-encore-assets`.
120+
111121
Common Post-Deployment Tasks
112122
----------------------------
113123

@@ -177,24 +187,14 @@ Make sure you clear and warm-up your Symfony cache:
177187
178188
$ php bin/console cache:clear --env=prod --no-debug
179189
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!
190+
E) Other Things!
190191
~~~~~~~~~~~~~~~~
191192

192193
There may be lots of other things that you need to do, depending on your
193194
setup:
194195

195196
* Running any database migrations
196197
* Clearing your APC cache
197-
* Running ``assets:install`` (already taken care of in ``composer install``)
198198
* Add/edit CRON jobs
199199
* Pushing assets to a CDN
200200
* ...

0 commit comments

Comments
 (0)