Skip to content

Commit b052c2e

Browse files
add: .env step (calcom#23572)
1 parent 4eb884e commit b052c2e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/developing/guides/api/how-to-setup-api-in-a-local-instance.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ To test the API in your local instance, you have the following pre-requisites:
1919
<Step title="Start development server and create API key">
2020
Start the cal.com server using `yarn dev` on localhost and create the test API keys by visiting `/settings/developer/api-keys`
2121
</Step>
22+
<Step title="Copy .env.example file">
23+
Copy the `.env.example` file to `.env` file by running `cp apps/api/v1/.env.example apps/api/v1/.env`from root folder
24+
</Step>
2225
<Step title="Start API server and test API">
2326
Start the API server by running `yarn workspace @calcom/api dev` and start testing your API locally
2427
</Step>

0 commit comments

Comments
 (0)