Skip to content

Commit

Permalink
Update the readme because we don't have a merged recipe yet
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesbh committed Jul 19, 2020
1 parent 8c7c183 commit 9a1e386
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,34 @@ By default it'll use the Semantic UI classes.

## Installation

<!--
**Beware!**
> This installation instruction assumes that you're using Symfony Flex.
-->

1. Require the plugin using composer

```bash
composer require monsieurbiz/sylius-alert-message-plugin
```

2. Generate & Run Doctrine migrations
2. Copy the configuration and routing files:

```
./bin/console doctrine:migration:diff
./bin/console doctrine:migration:migrate
```
```bash
cp -Rv vendor/monsieurbiz/sylius-alert-message-plugin/recipe/dev/config/* config/
```

3. Generate & Run Doctrine migrations

```
./bin/console doctrine:migration:diff
./bin/console doctrine:migration:migrate
```

## How it works

You just have to go in the Alert Messages section in your admin panel and add new message(s)!
You just have to go in the Alert Messages section in your admin panel and add new message(s)!

## Testing

Expand Down

0 comments on commit 9a1e386

Please sign in to comment.