Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometee committed Nov 12, 2024
1 parent 5d39a3c commit f91ecad
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
24 changes: 1 addition & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,7 @@ This is where your description should go. Limit it to a paragraph or two. Consid

1. Run `composer require flux-se/sylius-stripe-plugin`.

2. Import routes
```yaml
# config/routes/sylius_shop.yaml

flux_se_sylius_stripe_shop:
resource: "@FluxSESyliusStripePlugin/config/shop_routing.yaml"
prefix: /{_locale}
requirements:
_locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$

# config/routes/sylius_admin.yaml

flux_se_sylius_stripe_admin:
resource: "@FluxSESyliusStripePlugin/config/admin_routing.yml"
prefix: /admin
```
3. Import configuration
2. Import configuration
```yaml
# config/packages/_sylius.yaml

Expand All @@ -38,11 +21,6 @@ This is where your description should go. Limit it to a paragraph or two. Consid
- { resource: "@FluxSESyliusStripePlugin/config/config.yaml" }
```
4. Apply migrations
```bash
bin/console doctrine:migrations:migrate
```

## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
Expand Down
1 change: 0 additions & 1 deletion config/admin_routing.yaml

This file was deleted.

1 change: 0 additions & 1 deletion config/shop_routing.yaml

This file was deleted.

0 comments on commit f91ecad

Please sign in to comment.