Skip to content

Commit

Permalink
Update Readme file with additional install step for Gally 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
shochdoerfer authored and PierreGauthier committed Mar 25, 2024
1 parent fe49925 commit 858ddc0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Requirements

- Gally version: 1.2.x
- Gally version: 1.3.x
- Sylius version: 1.12.x

## Usage
Expand All @@ -18,12 +18,18 @@
```yaml
- { resource: "@GallySyliusPlugin/Resources/config/config.yml" }
```
- Import routes by creating a file `config/routes/gally_admin.yaml`
- Import admin routes by creating a file `config/routes/gally_admin.yaml`
```yaml
gally_admin:
resource: "@GallySyliusPlugin/Resources/config/admin_routing.yml"
prefix: /admin
```
- Import shop routes by creating a file `config/routes/gally_shop.yaml`
```yaml
gally_shop:
resource: "@GallySyliusPlugin/Resources/config/shop_routing.yml"
prefix: /{_locale}
```
- Implement the `Gally\SyliusPlugin\Model\GallyChannelInterface` and `Gally\SyliusPlugin\Model\GallyChannelTrait` in your Channel Entity `src/App/Entity/Channel/Channel.php`.
```php
<?php
Expand Down

0 comments on commit 858ddc0

Please sign in to comment.