Skip to content

Commit

Permalink
[Docs] Update Enabling Process for Perspective Editor (#130)
Browse files Browse the repository at this point in the history
* updateEnablingProcess-PerspectiveEditor

* versioning
  • Loading branch information
mcassier31 authored Apr 18, 2023
1 parent ceb87c5 commit 4052600
Showing 1 changed file with 31 additions and 3 deletions.
34 changes: 31 additions & 3 deletions doc/01_Installation.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
# Installation
## Bundle Installation
### For Pimcore >= 10.5
To install Pimcore Perspective Editor for Pimcore 10.5 or higher, follow the three steps below:

The installation of this bundle follows Pimcore standards. To install use following commands:
1. Install the required dependencies:
```bash
composer require pimcore/perspective-editor
```

2. Make sure the bundle is enabled in the `config/bundles.php` file. The following lines should be added:

```php
use Pimcore\Bundle\PerspectiveEditorBundle\PimcorePerspectiveEditorBundle;
// ...

return [
// ...
PimcorePerspectiveEditorBundle::class => ['all' => true],
// ...
];
```

3. Install the bundle:

```bash
bin/console pimcore:bundle:install PimcorePerspectiveEditorBundle
```

### For Older Versions
To install the Perspective Editor bundle for older versions of Pimcore, please run the following commands instead:

```bash
composer require pimcore/perspective-editor
./bin/console pimcore:bundle:enable PimcorePerspectiveEditorBundle
./bin/console pimcore:bundle:install PimcorePerspectiveEditorBundle
bin/console pimcore:bundle:enable PimcorePerspectiveEditorBundle
bin/console pimcore:bundle:install PimcorePerspectiveEditorBundle
```

Installation routine just adds an additional permission to `users_permission_definitions` table.
Expand Down

0 comments on commit 4052600

Please sign in to comment.