Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pkarw authored Jun 29, 2018
1 parent d8b4771 commit cec4207
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ As a result, all necessary services will be launched:

Then, to update the structures in the database to the latest version (data migrations), do the following:

(A) `docker exec -it vuestorefrontapi_app_1 yarn migrate`
(B) `yarn migrate`
- (A) `docker exec -it vuestorefrontapi_app_1 yarn migrate`
- (B) `yarn migrate`

By default, the application server is started in development mode. It means that code auto reload is enabled along with ESLint, babel support.

**Import product catalog**

Product catalog is imported using [elasticdump](https://www.npmjs.com/package/elasticdump), which is installed automatically via project dependency. The default ElasticSearch index name is: `vue_storefront_catalog`

(A) `yarn restore`
(B) `docker exec -it vuestorefrontapi_app_1 yarn restore`
- (A) `yarn restore`
- (B) `docker exec -it vuestorefrontapi_app_1 yarn restore`

It restores JSON documents stored in `./var/catalog.json`. The opposite command - used to generate `catalog.json` file from running ElasticSearch cluster:

(A) `yarn dump`
(B) `docker exec -it vuestorefrontapi_app_1 yarn dump`
- (A) `yarn dump`
- (B) `docker exec -it vuestorefrontapi_app_1 yarn dump`

**Access ElasticSearch data with Kibana**

Expand Down

0 comments on commit cec4207

Please sign in to comment.