@@ -108,6 +108,16 @@ Basic scripting
108
108
You can of course use shell, `Ant `_ or any other build tool to script
109
109
the deploying of your project.
110
110
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
+
111
121
Common Post-Deployment Tasks
112
122
----------------------------
113
123
@@ -177,24 +187,14 @@ Make sure you clear and warm-up your Symfony cache:
177
187
178
188
$ php bin/console cache:clear --env=prod --no-debug
179
189
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!
190
191
~~~~~~~~~~~~~~~~
191
192
192
193
There may be lots of other things that you need to do, depending on your
193
194
setup:
194
195
195
196
* Running any database migrations
196
197
* Clearing your APC cache
197
- * Running ``assets:install `` (already taken care of in ``composer install ``)
198
198
* Add/edit CRON jobs
199
199
* Pushing assets to a CDN
200
200
* ...
0 commit comments