|
8 | 8 | Deploying TYPO3 |
9 | 9 | =============== |
10 | 10 |
|
| 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 | + |
11 | 34 | .. _deployment-git-composer: |
12 | 35 |
|
13 | 36 | Using Git and Composer on the webserver |
@@ -46,28 +69,6 @@ decide not to do it: |
46 | 69 | Some of these problems can be fixed by using a symlink strategy where one |
47 | 70 | directory is running on production and another one is being updated. |
48 | 71 |
|
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 | | - |
71 | 72 | .. _deployment-automatic: |
72 | 73 |
|
73 | 74 | Automatic deployment |
|
0 commit comments