Before diving into development, setting up the monorepo environment is essential. Please follow the instructions in the monorepo setup guide to ensure you start on the right foot.
Once the monorepo is correctly set up, you can develop diffscribe
. To run diffscribe
locally and see your changes in real time, use the following command:
npm run dev -w diffscribe
Create a .env
file in the root of the monorepo and add the following:
OPENAI_API_KEY=your_openai_api_key
Remember to replace your_openai_api_key
with your actual OpenAI API key.
If you don't have an OpenAI API key, follow these steps to obtain one:
- Visit OpenAI API section.
- Register for an account or sign in if you already have one.
- Follow the prompts to create a new API key.
- Once you have your API key, copy and paste it into the
.env
file where it saysyour_openai_api_key
.
Important: Treat your API key as confidential. Please do not share it or commit it directly to the repository.
Thank you for contributing, and happy coding!