Skip to content

Commit

Permalink
Improve installation doc in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mmenozzi authored and damonsson committed Sep 28, 2019
1 parent 7ff0724 commit f7eb4fe
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,27 @@ redirect_sylius_shop_product_index:
_locale: ^[a-z]{2}(?:_[A-Z]{2})?$
slug: .+
```
...and update installed assets with the following command:
```
$ bin/console assets:install
```
...and remove the default ElasticSearch index (`app`) defined by `FOSElasticaBundle` in `config/packages/fos_elastica.yaml`:
```

fos_elastica:
clients:
default: { host: localhost, port: 9200 }
indexes:
app: ~
```
should become:
```

With a elasticsearch server running, execute following command:
fos_elastica:
clients:
default: { host: localhost, port: 9200 }
```
In the end, with an elasticsearch server running, execute following command:
```
$ bin/console fos:elastica:populate
```
Expand Down

0 comments on commit f7eb4fe

Please sign in to comment.