This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
t3dd23 [2023/08/02 22:21] – admin | t3dd23 [2023/08/04 12:33] – admin | ||
---|---|---|---|
Line 4: | Line 4: | ||
{{ : | {{ : | ||
- | |||
====== What do we need❓ ====== | ====== What do we need❓ ====== | ||
- | * LAMP stack including configuration and services (e.g. solr) | + | < |
- | | + | <li>LAMP stack including configuration and services (e.g. solr) </li> |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | + | | |
- | + | </ | |
- | ====== Local LAMP ====== | + | |
- | + | ||
- | To run the website we need a webserver, a database and PHP (with some additional modules). | + | |
- | Either set this up all yourself or you can use DDEV. | + | ====== LAMP stack ====== |
- | I prefer ddev because... | + | To run the website we need a webserver, a database and PHP. |
- | * Easy to set up | + | Either |
- | * Share configuration with your team using VCS | + | |
- | * Flexible configuration | + | |
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
====== Package-Manager / Dependency Manager ====== | ====== Package-Manager / Dependency Manager ====== | ||
Line 35: | Line 35: | ||
To get third party dependencies in place: | To get third party dependencies in place: | ||
- | * **PHP** | + | < |
- | | + | <li> < |
+ | | ||
+ | </ | ||
====== Site package | ====== Site package | ||
- | The place where your website will life in. | + | The place where your website will life in. |
It contains all the code that makes up the website. | It contains all the code that makes up the website. | ||
Line 50: | Line 52: | ||
improving the code. | improving the code. | ||
- | * **PHPStan*** - Find bugs before they reach production | + | < |
- | | + | < |
- | | + | |
+ | | ||
+ | </ | ||
* used by the TYPO3 Core | * used by the TYPO3 Core | ||
Line 62: | Line 66: | ||
when and why a change was done to the code. | when and why a change was done to the code. | ||
- | * Git | + | < |
- | | + | <li>Git</li> |
- | | + | |
- | | + | |
+ | | ||
+ | </ | ||
+ | Most likely Git due to adoption in GitHub/ | ||
- | < | ||
- | <div class=" | ||
- | Most likely Git due to adoption in GitHub/ | ||
- | <br> | ||
It is rare to see the others out in the wild these days. | It is rare to see the others out in the wild these days. | ||
- | </ | ||
- | </ | ||
Line 89: | Line 90: | ||
Tests are always good practice. It will ensure that the changed code is still working. | Tests are always good practice. It will ensure that the changed code is still working. | ||
- | * **Unit/ | + | < |
- | * **Acceptance tests** - Codeception*, | + | < |
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
* used by the TYPO3 Core | * used by the TYPO3 Core | ||
Line 100: | Line 106: | ||
Finally, ship your code. | Finally, ship your code. | ||
- | - CI Tools: GitHub Actions, | + | < |
- | | + | < |
+ | <li>CI Tools: GitHub Actions, | ||
+ | <li>Ship code: TYPO3 Surf, Deployer or a plain bash script if you prefer</ | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | {{: | ||
- | {{: | ||
====== Wait wait wait .... ====== | ====== Wait wait wait .... ====== | ||
Line 118: | Line 129: | ||
{{ : | {{ : | ||
- | ==== The Gitlab | + | ==== The GitLab |
Let me show you ... | Let me show you ... | ||
Line 158: | Line 169: | ||
⚠️ Try to keep changes small | ⚠️ Try to keep changes small | ||
+ | |||
+ | |||
+ | ====== A Merge Request example ====== | ||
+ | |||
+ | |||
+ | ^ ^ ^ | ||
+ | | {{: | ||
+ | |||
+ | {{: | ||
Line 173: | Line 193: | ||
</ | </ | ||
- | everyone | + | Everyone |