Skip to content

Commit ff334ba

Browse files
committed
use yarn
1 parent 87d2244 commit ff334ba

File tree

3 files changed

+2281
-3560
lines changed

3 files changed

+2281
-3560
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ This template is an example project for a simple Large Language Model (LLM) appl
88

99
These are the available commands:
1010

11-
- `npm start` — This will start a React development server for the frontend app, with a default port of `5173`.
12-
- `npm run start-server` — This will start a Node development server for the backend app, with a default port of `3100`.
11+
- `yarn start` — This will start a React development server for the frontend app, with a default port of `5173`.
12+
- `yarn start-server` — This will start a Node development server for the backend app, with a default port of `3100`.
1313

14-
- `npm run build` — This will output a production build of the frontend app in the `dist` directory.
15-
- `npm run preview` — This will run the production build of the frontend app locally with a default port of `5173` (_note_: this will not work if you haven't generated the production build yet).
14+
- `yarn build` — This will output a production build of the frontend app in the `dist` directory.
15+
- `yarn preview` — This will run the production build of the frontend app locally with a default port of `5173` (_note_: this will not work if you haven't generated the production build yet).
1616

1717
## Getting Started
1818

@@ -24,7 +24,7 @@ Now you are ready to run the server and the web app.
2424
You can use the `-p` flag to specify a port for development. To do this, you can either run `npm start` with an additional flag:
2525

2626
```bash
27-
npm start -- --port 3000
27+
yarn start -- --port 3000
2828
```
2929

3030
Or edit the `start` script directly:

0 commit comments

Comments
 (0)