Skip to content

Commit

Permalink
Explain how to do environment variables in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sid-swirl committed Jan 8, 2025
1 parent d6f222a commit 2bb0529
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/Quick-Start.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,20 @@ Make sure the Docker app is running before proceeding!
curl https://raw.githubusercontent.com/swirlai/swirl-search/main/docker-compose.yaml -o docker-compose.yaml
```

* *IMPORTANT*: To use SWIRL's Real-Time Retrieval Augmented Generation (RAG) in Docker, run the following commands from the Console using a valid OpenAI API key:
* *IMPORTANT*: To use SWIRL's Real-Time Retrieval Augmented Generation (RAG) in Docker, run the following commands from the Console using a valid OpenAI API key...

For Mac OS or Linux:
``` shell
export MSAL_CB_PORT=8000
export MSAL_HOST=localhost
export OPENAI_API_KEY='<your-OpenAI-API-key>'
export OPENAI_API_KEY=<your-OpenAI-API-key>
```

For Windows:
``` shell
set MSAL_CB_PORT=8000
set MSAL_HOST=localhost
set OPENAI_API_KEY=<your-OpenAI-API-key>
```

{: .highlight }
Expand Down

0 comments on commit 2bb0529

Please sign in to comment.