docs: Add missing setup step in README.md (#145)

* docs: Add missing setup step in README.md

* docs: fix README.md
This commit is contained in:
Michael Currin
2025-03-25 19:00:52 +01:00
committed by GitHub
parent e43d62643e
commit 26039de2dc

View File

@@ -26,34 +26,31 @@ Follow the steps below to set up and run the application.
### 1. Clone the Repository ### 1. Clone the Repository
Clone the examples repository from GitHub:
```sh ```sh
git clone https://github.com/hexgrad/kokoro.git git clone https://github.com/hexgrad/kokoro.git
``` ```
### 2. Navigate to the Project Directory ### 2. Build the Dependencies
Change your working directory to the `demo` folder:
```sh ```sh
cd kokoro/kokoro.js/demo cd kokoro/kokoro.js
npm i
npm run build
``` ```
### 3. Install Dependencies ### 3. Setup the Demo Project
Install the necessary dependencies using npm: Note this depends on build output from the previous step.
```sh ```sh
cd demo
npm i npm i
``` ```
### 4. Run the Development Server ### 4. Start the Development Server
Start the development server:
```sh ```sh
npm run dev npm run dev
``` ```
The application should now be running locally. Open your browser and go to `http://localhost:5173` to see it in action. The application should now be running locally. Open your browser and go to [http://localhost:5173](http://localhost:5173) to see it in action.