Azure-Samples / graphrag-accelerator

One-click deploy of a Knowledge Graph powered RAG (GraphRAG) in Azure
https://github.com/microsoft/graphrag
MIT License
1.65k stars 250 forks source link

[BUG] frontend deployment fails when trying to load .env file #142

Closed DOliana closed 1 month ago

DOliana commented 1 month ago

Describe the bug

I successfully deployed the accelerator and wanted to deploy the frontend as described. When running the deploy-script it fails because there is no .env file. By looking at the code I am not sure where the file should come from.

To Reproduce

  1. deploy accelerator as described as documented (I used -g option)
  2. follow steps to deploy frontend (create app registration, set values in frontend_deploy.parameters.json, run script)
  3. observe error: deploy.sh: line 7: .env: No such file or directory

Expected behavior deployment starts

Desktop (please complete the following information):