Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Improve local ddev setup handling - first round #391

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

sbuerk
Copy link
Contributor

@sbuerk sbuerk commented Dec 12, 2024

  • [TASK] Introduce local patch contribution package/extension
    To make contribution and workin on EXT:deepltranslate_core easier,
    the provided ddev based local environment should be improved with
    the ability to setup a basic working environment easily.

    This change introduces a local development extension EXT:contribution
    as preparation to give at least a simple and easy setup of a running
    TYPO3 instance based on the TYPO3 EXT:styleguide core extension to
    generate a backend and frontend tree / data. Combined with the TYPO3
    v12 setup command this allows a simple instance generation.

    For the start, the contribution extension only provide a cli command
    to manage site root visibilities (on/off) having EXT:styleguide
    generated trees in mind.

  • [TASK] Add EXT:styleguide and EXT:contribution as development dependencies
    To improve the extension contribution experience with the
    provided ddev setup two additional development dependencies
    are added:

    • EXT:styleguide: TYPO3 Core development extension which
      provides a generator for TCA and FRONTEND page trees.
    • EXT:contribution: Local path extension providing some
      helper arround the contribution/working experience for
      the ddev instance.
    composer config sort-packages true
    composer config repositories.local path "packages/*"
    composer require --dev \
      "typo3/cms-styleguide":"^12.0.5" \
      "web-vision/contribution":"@dev"
    

    composer2-81 config sort-packages true
    composer2-81 config repositories.local path "packages/*"
    composer2-81 require --dev
    "typo3/cms-styleguide":"^12.0.5"
    "web-vision/contribution":"@dev"

  • [TASK] Add ddev-setup-instance composer script
    This change adds the composer script ddev:setup-instance,
    which setupts the TYPO3 instance for ddev, generates the
    EXT:styleguide trees and activates the frontend site.

To make contribution and workin on `EXT:deepltranslate_core` easier,
the provided ddev based local environment should be improved with
the ability to setup a basic working environment easily.

This change introduces a local development extension `EXT:contribution`
as preparation to give at least a simple and easy setup of a running
TYPO3 instance based on the TYPO3 `EXT:styleguide` core extension to
generate a backend and frontend tree / data. Combined with the TYPO3
v12 setup command this allows a simple instance generation.

For the start, the contribution extension only provide a cli command
to manage site root visibilities (on/off) having `EXT:styleguide`
generated trees in mind.
…endencies

To improve the extension contribution experience with the
provided ddev setup two additional development dependencies
are added:

* `EXT:styleguide`: TYPO3 Core development extension which
  provides a generator for TCA and FRONTEND page trees.
* `EXT:contribution`: Local path extension providing some
  helper arround the contribution/working experience for
  the ddev instance.

```terminal
composer config sort-packages true
composer config repositories.local path "packages/*"
composer require --dev \
  "typo3/cms-styleguide":"^12.0.5" \
  "web-vision/contribution":"@dev"
```

composer2-81 config sort-packages true
composer2-81 config repositories.local path "packages/*"
composer2-81 require --dev \
  "typo3/cms-styleguide":"^12.0.5" \
  "web-vision/contribution":"@dev"
This change adds the composer script `ddev:setup-instance`,
which setupts the TYPO3 instance for ddev, generates the
`EXT:styleguide` trees and activates the frontend site.
@sbuerk sbuerk changed the title [TASK] Improce local ddev setup handling - first round [TASK] Improve local ddev setup handling - first round Dec 12, 2024
@sbuerk sbuerk merged commit abed777 into main Dec 12, 2024
4 checks passed
@sbuerk sbuerk deleted the improve-contribution-ddev branch December 12, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant