Clone the Repo:
- Clone the repository from GitHub using
git clone
.
Install Requirements:
- Navigate to the project's root directory and install the required dependencies with
pip install -r requirements.txt
.
Set Up Environment Variable:
- Export your OpenAI API key as an environment variable in your terminal:
export DW_OPENAI_KEY=<your_openai_api_key>
Replace <your_openai_api_key>
with your actual OpenAI API key.
Run the Backend:
- Start the backend server by running:
python main.py
The backend should now be running locally and accessible at the specified endpoint(s).