Develop

Work with site

Installation

  1. Clone the repository

    git clone https://github.com/buepro/typo3-pizpalue.git
    
  2. Create site

    composer ddev:install
    

Development

Mount extension directories

To work at the same time on other packages mount local directories to the container by adjusting and adding the following script to .ddev/docker-compose.mount.yaml:

services:
  web:
    volumes:
      # Mount local directory to the web containers path `/mnt/public/package`
      - "~/Projects/public:/mnt/public/package"

Work with the container

Use the ddev container during development. Like this the system environment is being respected. E.g.:

ddev composer update

Uninstallation

To remove the development site use:

composer ddev:uninstall

Create tests

Create test db with PhpMyAdmin

  1. Clean up the db

  2. Select tables pages, sys_template, tt_content

  3. Set format specific options as following * Enclose columns with " * Escape columns with " * Replace NULL by \NULL

Add needed extensions

It might be needed to add the following extensions:

protected $coreExtensionsToLoad = [
   'impexp',
   'seo',
];
protected $testExtensionsToLoad = [
   'typo3conf/ext/pvh',
   'typo3conf/ext/container',
   'typo3conf/ext/container_elements',
   'typo3conf/ext/bootstrap_package',
   'typo3conf/ext/pizpalue',
];

Notes

  • Bootstrap package sync status: - Branch BP-12.0: 22.04.2022 / commit 16734ba6 - Branch BP-12.1: 26.11.2021 / commit 028a786b