Skip to content

Commit 6587dbb

Browse files
authored
Merge pull request #136 from MoskalykA/MoskalykA/match-lock-file
docs: matching readme to lock files
2 parents 086ec2b + b8bbdbb commit 6587dbb

File tree

4 files changed

+12
-80
lines changed

4 files changed

+12
-80
lines changed

src/ecommerce/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
## 📝 Requirements
2424

2525
- [NodeJs](https://nodejs.org/en/download/)
26-
- [npm](https://www.npmjs.com/get-npm)
26+
- [Yarn](https://yarnpkg.com/getting-started/install)
2727

2828
## 🎬 Getting Started
2929

@@ -60,18 +60,18 @@ NEXT_PUBLIC_MEILI_API_KEY=<PUT_YOUR_API_KEY_HERE>
6060
Run the following commands:
6161

6262
```
63-
npm install
64-
npm run seed
63+
yarn
64+
yarn seed
6565
```
6666

6767
This will create an index `products` and seed data in your meilisearch.
6868

6969
## 4. Start server
7070

71-
Don't forget to run `npm install` first, if you didn't do it in the previous step.
71+
Don't forget to run `yarn` first, if you didn't do it in the previous step.
7272

7373
```
74-
npm run dev
74+
yarn dev
7575
```
7676

7777
This will start your frontend server on [http://localhost:8000](http://localhost:8000).

src/matching-strategy/README.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
## Requirements
2121

22-
- [yarn](https://yarnpkg.com/) or [npm](https://www.npmjs.com/get-npm)
22+
- [yarn](https://yarnpkg.com/)
2323
- [Docker](https://docs.docker.com/get-docker/)
2424

2525
## Demo
@@ -73,26 +73,13 @@ You can learn more about master and API keys in [the dedicated section of our do
7373
yarn
7474

7575
```
76-
or
7776

78-
```bash
79-
80-
npm install
81-
82-
```
8377
### 4. Run the setup
8478

8579
```bash
8680

8781
yarn setup
8882

89-
```
90-
or
91-
92-
```bash
93-
94-
npm run setup
95-
9683
```
9784

9885
This does the following:
@@ -110,14 +97,6 @@ You can now run the project. The front-end client is now communicating with your
11097

11198
yarn dev
11299

113-
```
114-
115-
or
116-
117-
```bash
118-
119-
npm run dev
120-
121100
```
122101

123102
Visit `http://localhost:5173` in your browser and start searching with Meilisearch!

src/nobel-prizes/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ _Based on [How to Search Nobel Prize Winners Faster With Meilisearch and JavaScr
1111

1212
## Run and develop locally
1313

14-
First, you will need to install [yarn](https://classic.yarnpkg.com/en/docs/install/) or [npm](https://www.npmjs.com/get-npm).</br>
14+
First, you will need to install [yarn](https://classic.yarnpkg.com/en/docs/install/).</br>
1515
Then run:
1616

1717
```bash
1818
$ git clone [email protected]:meilisearch/meilisearch-vue.git
1919
$ cd meilisearch-vue/examples/nobel-prizes
20-
$ yarn # or npm install
21-
$ yarn serve # or npm run serve
20+
$ yarn
21+
$ yarn serve
2222
```
2323

2424
You can now visit `http://localhost:8080/` in your browser.
@@ -45,8 +45,8 @@ This walkthrough runs Meilisearch in a development environment, and therefore it
4545
Go inside the `setup` directory and run the following commands:
4646
```bash
4747
$ cd setup/
48-
$ yarn # or npm install
49-
$ yarn start # or npm run start
48+
$ yarn
49+
$ yarn start
5050
```
5151

5252
This will do the following:
@@ -78,7 +78,7 @@ You can now go back to the root directory and run the project. The front-end cli
7878

7979
```bash
8080
$ cd ..
81-
$ yarn serve # or npm run serve
81+
$ yarn serve
8282
```
8383

8484
You can now visit `http://localhost:8080/` in your browser.

src/tenant-token/seed/yarn.lock

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)