Skip to content

Commit 06a90e5

Browse files
cleanup
1 parent d015456 commit 06a90e5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,23 @@ To get started with this project:
2424

2525
1. Clone the repository to your local machine.
2626
2. Install the dependencies by running `pnpm install`.
27-
3. Setup wrangler by creating `wrangler.toml` by command `cp wrangler.example.toml wrangler.toml` in the root directory. Install wrangler cli if you don't have it using `npm i -g wrangler`.
27+
3. Setup `.env` by command `cp example.env .env` in the root directory.
2828
4. You can start the project locally using command `pnpm start`
2929
5. You can deploy the project to Deno using command `pnpm deploy:prod`
3030

3131
#### Configuration
3232

33-
1. Create `wrangler.toml` by command `cp wrangler.example.toml wrangler.toml` in the root directory.
34-
2. Get ur `OPENAI_API_KEY` from openai and update the `wrangler.toml` file.
35-
3. From Vapi dashboard, you can get your Vapi Private key from **Dashboard > Accounts > Vapi Keys > Api Key** and update `wrangler.toml` file
36-
4. Get ServerURL
33+
1. Get ur `OPENAI_API_KEY` from openai and update the `.env` file.
34+
2. From Vapi dashboard, you can get your Vapi Private key from **Dashboard > Accounts > Vapi Keys > Api Key** and update `.env` file
35+
3. Get ServerURL
3736

3837
1. Using Ngrok: Start the project locally using `pnpm start` and then use ngrok to get the url.
3938
2. Using Deno: Deploy to heroku/railway or others and get the url for the serverURL.
4039

4140
The serverURL to be configured in the **Dashboard > Accounts > Settings** is `https://<domain>/api/webhook` This has all the messages placeholder. You can also try `https://<domain>/api/functions/basic` or `https://<domain>/api/rag`
4241

43-
5. There are sample request body in `./assistants` folder. Use them to create an assistant using the POST endpoint `https://api.vapi.ai/api/assistant` with any of the body from `./assistants`.
44-
6. Now you have an assistant created which you can talk with from the Vapi Dashboard.
42+
4. There are sample request body in `./assistants` folder. Use them to create an assistant using the POST endpoint `https://api.vapi.ai/api/assistant` with any of the body from `./assistants`.
43+
5. Now you have an assistant created which you can talk with from the Vapi Dashboard.
4544

4645
#### Explore and make changes.
4746

0 commit comments

Comments
 (0)