-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Rebased #3965 #4124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Rebased #3965 #4124
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Update deployment-tools.rst
Added"Check requirements as A in Common Post-Deployment Tasks
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,14 +71,24 @@ Common Post-Deployment Tasks | |
After deploying your actual source code, there are a number of common things | ||
you'll need to do: | ||
|
||
A) Configure your ``app/config/parameters.yml`` File | ||
A) Check Requirements. | ||
~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Check if your server meets requirements. | ||
Run command: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
.. code-block:: bash | ||
|
||
$ php app/check.php | ||
|
||
B) Configure your ``app/config/parameters.yml`` File | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
This file should be customized on each system. The method you use to | ||
deploy your source code should *not* deploy this file. Instead, you should | ||
set it up manually (or via some build process) on your server(s). | ||
|
||
B) Update your Vendors | ||
C) Update your Vendors | ||
~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Your vendors can be updated before transferring your source code (i.e. | ||
|
@@ -97,7 +107,7 @@ as you normally do: | |
ensures that development packages are not installed in the production | ||
environment. | ||
|
||
C) Clear your Symfony Cache | ||
D) Clear your Symfony Cache | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Make sure you clear (and warm-up) your Symfony cache: | ||
|
@@ -106,7 +116,7 @@ Make sure you clear (and warm-up) your Symfony cache: | |
|
||
$ php app/console cache:clear --env=prod --no-debug | ||
|
||
D) Dump your Assetic Assets | ||
E) Dump your Assetic Assets | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
If you're using Assetic, you'll also want to dump your assets: | ||
|
@@ -115,7 +125,7 @@ If you're using Assetic, you'll also want to dump your assets: | |
|
||
$ php app/console assetic:dump --env=prod --no-debug | ||
|
||
E) Other Things! | ||
F) Other Things! | ||
~~~~~~~~~~~~~~~~ | ||
|
||
There may be lots of other things that you need to do, depending on your | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't notice that before: We should remove the dot here.