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

Update Readme file with additional install step for Gally 1.3 #16

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading