How to deploy Danswer on your local machine
Requirements
Setup
This quickstart guide covers setting up Danswer for local execution
git clone https://github.com/danswer-ai/danswer.git
cd danswer/deployment/docker_compose
docker compose -f docker-compose.dev.yml -p danswer-stack up -d --pull always --force-recreate
docker compose -f docker-compose.dev.yml -p danswer-stack up -d --build --force-recreate
OpenAI API Key
Note:?On the initial visit, Danswer will prompt for an OpenAI API key. Without this Danswer will be able to provide search functionalities but not direct Question Answering.
You can get an OpenAI API key at:?https://platform.openai.com/account/api-keys
Indexing Documents
This quickstart guide will index a publicly accessible website as this requires no additional authorization setup
Connectors
WebConnector
SampleQA
Shutting Down
docker compose -f docker-compose.dev.yml -p danswer-stack down
add?-v
?at the end to delete the volumes (containing users and indexed documents)