Skip to content

Commit

Permalink
Replace ScriptHandler with contao-setup script (#1480)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Zoglowek <[email protected]>
  • Loading branch information
Shadow-Devil and zoglo authored Dec 1, 2024
1 parent ff5398a commit c18cf92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/dev/getting-started/initial-setup/managed-edition.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ run `composer create-project contao/managed-edition`:
{
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
"@php vendor/bin/contao-setup"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
"@php vendor/bin/contao-setup"
]
}
}
```

So after every `composer update` or `composer install`, the `ScriptHandler` of the `Managed Edition` is called so it is
So after every `composer update` or `composer install`, the `contao-setup` script of the `Managed Edition` is called so it is
able to initialize the application.
Here are examples of what the `ScriptHandler` does to give you an idea about its responsibilities:
Here are examples of what the `contao-setup` script does to give you an idea about its responsibilities:

* Creating the whole application structure. Folders such as the `app` and the `web` folders with the entry points.
* It purges and rebuilds the cache
Expand Down

0 comments on commit c18cf92

Please sign in to comment.