Skip to content

Commit 5f4c712

Browse files
[Backport 13.4] Update DeployTYPO3.rst (#746)
* Update DeployTYPO3.rst Reordered sections to show the safer and more preferable way first * Update DeployTYPO3.rst Added link to the deployment information for locally developed sites --------- Co-authored-by: Ines Willenbrock <132353832+iwillenbrock@users.noreply.github.com>
1 parent fb1db74 commit 5f4c712

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

Documentation/Installation/DeployTYPO3.rst

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,29 @@
88
Deploying TYPO3
99
===============
1010

11+
.. _deployment-copy-files:
12+
13+
Build locally and copy all files and symlinks to the server
14+
===========================================================
15+
16+
* Build the local environment (installing everything necessary for the website)
17+
* Run :bash:`composer install --no-dev` to install without development dependencies
18+
* Copy files to the production server
19+
* Copy the database to the production server
20+
* Compare the database
21+
* Fix file permissions
22+
* Clear caches
23+
24+
.. todo: Link these steps once documented
25+
26+
There can be several problems with this strategy:
27+
28+
* Copying files or unzipping files can be slow, there can be several minutes
29+
of downtime.
30+
* A TYPO3 installation depends on symlinks. Make sure these symlinks are
31+
preserved during copying and or compressing files.
32+
* For further information regarding the deployment of locally developed sites read the chapter about `Initial deployment <https://docs.typo3.org/permalink/t3coreapi:manual-deployment-initial>`_
33+
1134
.. _deployment-git-composer:
1235

1336
Using Git and Composer on the webserver
@@ -46,28 +69,6 @@ decide not to do it:
4669
Some of these problems can be fixed by using a symlink strategy where one
4770
directory is running on production and another one is being updated.
4871

49-
.. _deployment-copy-files:
50-
51-
Build locally and copy all files and symlinks to the server
52-
===========================================================
53-
54-
* Build the local environment (installing everything necessary for the website)
55-
* Run :bash:`composer install --no-dev` to install without development dependencies
56-
* Copy files to the production server
57-
* Copy the database to the production server
58-
* Compare the database
59-
* Fix file permissions
60-
* Clear caches
61-
62-
.. todo: Link these steps once documented
63-
64-
There can be several problems with this strategy:
65-
66-
* Copying files or unzipping files can be slow, there can be several minutes
67-
of downtime.
68-
* A TYPO3 installation depends on symlinks. Make sure these symlinks are
69-
preserved during copying and or compressing files.
70-
7172
.. _deployment-automatic:
7273

7374
Automatic deployment

0 commit comments

Comments
 (0)