Add application files and update setup script

This commit is contained in:
Alex
2024-01-09 00:05:44 +00:00
parent e1b2991aa6
commit 71cc22325d
3 changed files with 14 additions and 0 deletions

View File

@@ -62,6 +62,20 @@ use_openai() {
echo "The application will run on http://localhost:5173"
echo "You can stop the application by running the following command:"
echo "docker-compose down"
}
use_openai() {
echo "LLM_NAME=docsgpt" > .env
echo "VITE_API_STREAMING=true" >> .env
echo "The .env file has been created with API_KEY set to your provided key."
docker-compose build && docker-compose up -d
echo "The application will run on http://localhost:5173"
echo "You can stop the application by running the following command:"
echo "docker-compose down"