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

Use local packages

To work at the same time on other packages (e.g. user_pizpalue) carry out the following steps:

  1. 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"
    
  2. Add the package repository to the composer configuration:

    {
       "repositories": {
          "user-pizpalue": {
             "type": "path",
             "url": "/mnt/public/package/typo3-user_pizpalue"
          }
       }
    }
    

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',
];

Documentation

Create upgrade description

  1. git log v13.2.0..7ab170cc --pretty="* %s (%cd, %h)%n+++%n%n%b%n" --date=format:%d.%m.%Y --abbrev-commit --grep "\!\!\!" > Upgrade.rst

  2. Format headings

Notes

  • Bootstrap package sync status:

    • Branch BP_14_0: v14.0.7, 14.08.2023 / commit 45333312