riconet / t3-project-skeleton
Contains a skeleton for a TYPO3 project
Requires
- php: ^7.4 || ^8.2
This package is auto-updated.
Last update: 2024-12-05 13:34:06 UTC
README
HowTo TYPO3 13.4 - Empty new Site
alias doc="docker compose $@"
composer create-project --remove-vcs "riconet/t3-project-skeleton:13.4" PROJECT_NAME
Generate Sitepackage: https://sitepackage.psv-neo.de/
Extract ZIP into "extensions" Folder
add the sitepackage to require section in composer.json: "psvneo/t3-internal-extension-sitepackage": "@dev"
information of the package name can be found in composer.json of the extension
docker compose up -d
docker compose exec typo3 bash
composer install
vendor/bin/typo3 install:setup -f
Lazy Initialisation
This will start the containers and run all setup commands
bin/init.sh
Information
initial TYPO3 structure
:warning: OPTIONAL :warning:
This has to be done INSIDE the container :warning:
Run all steps at once:
composer run init:all
Or each step individually:
composer run init:siteStructure
composer run init:beUsers
composer run init:siteConfiguration
After import add the new users to SYSTEM_MAINTAINERS in .env
SYSTEM_MAINTAINERS='1,4,5,6,7,8,9,10,11'
Database
Field | Value |
---|---|
database | application |
host | db |
user | user |
password | 1234 |
port | 3306 |
composer.json in app folder
Don't forget to change the values 'name' and 'description' to the proper values for the customer.
Import SQL in to the docker container.
Import file "database.sql":
composer run import:db
Export to file "database.sql":
composer run export:db
Or use the command by hand:
cat FILENAME.sql | docker exec -i db /usr/bin/mysql -u root --password=1234 application