|
|
||
|---|---|---|
| public/_assets | ||
| vendor | ||
| .gitignore | ||
| README.md | ||
TYPO3 CMS Base Distribution
Get going quickly with TYPO3 CMS.
Prerequisites
- PHP 8.2
- Composer
Quickstart
composer create-project typo3/cms-base-distribution project-name ^13cd project-name
Note that this distribution installs most, but not all of the TYPO3 CMS core extensions. Depending on your need you might also want to install other TYPO3 extensions from packagist.org.
Setup
To start an interactive installation, you can do so by executing the following command and then follow the wizard:
composer exec typo3 setup
Setup unattended (optional)
If you're a more advanced user, you might want to leverage the unattended installation. To do this, you need to execute the following command and substitute the arguments with your own environment configuration.
export TYPO3_SETUP_ADMIN_PASSWORD=$(tr -dc "_A-Za-z0-9#=$()/" < /dev/urandom | head -c24)
composer exec -- typo3 setup \
--no-interaction \
--server-type=other \
--driver=sqlite \
--admin-username=admin \
--admin-email="info@example.com" \
--project-name="My TYPO3 Project" \
--create-site="http://localhost:8000/"
echo "Admin password: ${TYPO3_SETUP_ADMIN_PASSWORD}"
Development server
While it's advised to use a more sophisticated web server such as Apache 2 or Nginx, you can instantly run the project by using PHPs` built-in web server.
TYPO3_CONTEXT=Development php -S localhost:8000 -t public- open your browser at "http://localhost:8000"
Please be aware that the built-in web server is single threaded and only meant to be used for development.
Deployment (host201)
Auf dem Server host201 wird kein Composer verwendet. Die Dateien werden über Git geladen und manuell platziert.
Ablage der Updates
Updates werden unter folgendem Pfad abgelegt (Datum als Ordnername):
_updates/yyyymmdd
Git Repositories
git clone https://git.dev-101.de/lars.vogel/t3tpl_dss.git
git clone https://git.dev-101.de/lars.vogel/t3-lv-dss.git
Ordnerstruktur auf dem Server
Die geklonten Ordner werden manuell an die entsprechenden Stellen kopiert:
/root
├── /packages/t3tpl_dss
├── /vendor
└── /public/_assets
Hinweis: Später ggf. Shell-Script zur Automatisierung erstellen.
Tests
Nach dem Deployment folgende Seiten und Funktionen prüfen:
- News nachladen: https://ds-shanghai.de/news-termine/news
- Kontakt nachladen: https://ds-shanghai.de/kindertagesstaette/unser-kita-team
- Textbausteine: Sprache in Testseiten umschalten
Next steps
License
GPL-2.0 or later