You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,26 +21,26 @@ You can run the dashboard locally in just a few steps:
21
21
22
22
1.**Clone this repository** to your local machine.
23
23
2.**Open the project folder** in VS Code.
24
-
3.**Install npm dependencies** by running the following command in your project directory:
24
+
3.**Install yarn dependencies** by running the following command in your project directory:
25
25
26
26
```bash
27
-
npm install
27
+
yarn install
28
28
```
29
29
30
30
This will install all required packages for the proxy server and other tooling.
31
31
32
32
4. **Start the proxy server** by running:
33
33
34
34
```bash
35
-
npm run dev
35
+
yarn dev
36
36
```
37
37
38
38
This command starts the proxy server, which is necessary for API calls from the frontend to the backend (see the "Proxying API Requests" section below for more details).
39
39
40
40
5. **Start the frontend server:** Click the **"Go Live" button**in the bottom-right corner of VS Code.
41
41
- This will open the dashboard in your browser and automatically reload when you make changes.
42
42
- If you don't see the "Go Live" button, ensure the Live Server extension is installed and enabled.
43
-
- **Important:** For full functionality, especially API calls, make sure both the proxy server (`npm run dev` started in step 4) and the Live Server are running concurrently.
43
+
- **Important:** For full functionality, especially API calls, make sure both the proxy server (`yarn dev` started in step 4) and the Live Server are running concurrently.
44
44
45
45
> **Note:** If you only start Live Server without the proxy server, API requests from the frontend may fail due to CORS issues. Always run both servers for a complete local development experience.
0 commit comments