Skip to content

Commit

Permalink
Improve README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mmenozzi committed Dec 7, 2020
1 parent 60fbcd0 commit f8b4367
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,22 @@
Webgriffe\SyliusAkeneoPlugin\WebgriffeSyliusAkeneoPlugin::class => ['all' => true],
```

3. Finish the installation by updating the database schema and installing assets:
3. Import the plugin config by creating a file in `config/packages/webgriffe_sylius_akeneo_plugin.yaml` with the following contents:

```yaml
imports:
- { resource: "@WebgriffeSyliusAkeneoPlugin/Resources/config/config.yaml" }
```

4. Import the plugin routes by creating a file in `config/routes/webgriffe_sylius_akeneo_plugin.yaml` with the follwing content:

```yaml
webgriffe_sylius_akeneo_plugin_admin:
resource: "@WebgriffeSyliusAkeneoPlugin/Resources/config/admin_routing.yaml"
prefix: /admin
```

5. Finish the installation by updating the database schema and installing assets:

```bash
bin/console doctrine:migrations:diff
Expand Down

0 comments on commit f8b4367

Please sign in to comment.