You can find the steps to setting up and runing the app below, please make sure that you read over them carefully as everything listed below is required to run the app
Before running locally ensure you have:
Head to docker's webstie where you should see the option to download docker desktop for your operating system, and then follow the install process
Run:
winget install --id Microsoft.AzureCLI --exact --source winget
Restart your terminal afterwards.
Verify installation:
az --version
Run:
brew update
brew install azure-cli
Verify installation:
az --version
Run:
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Verify installation:
az --version
Head to Azure and make sure that you setup (or are apart of) the docgenvault Key Vault used by the release scripts, with the following secret names:
| Name | Value |
|---|---|
| AI-API-KEY | your OpenAI key |
| AZURE-AD-CLIENT-ID | your client ID |
| AZURE-AD-CLIENT-SECRET | your client secret |
| AZURE-AD-TENANT-ID | your tenant ID |
| AZURE-OPENAI-ENDPOINT | your OpenAI endpoint |
| NEXTAUTH-SECRET | your next auth secret |
Then login to Azure by opening your terminal and typing:
az login
If prompted, select the correct subscription
Download the latest release of the app from here, simply click on the docker-images.zip folder which contatins all the artifacts and it will start downloading
Extract the docker-images.zip folder that you just downloaded into a single directory, and make sure you have docker desktop running. Keep the extracted files together so the folder contains docker-compose.images.yml, the scripts folder, and the four image tar files.
Open the docker-images folder in your terminal:
C:\Users\...\docker-images>
To fetch secrets from Azure Key Vault, generate .env.generated, and start all services use the following commands for your operating system:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\scripts\run-with-images.ps1
chmod +x scripts/run-with-images.sh
./scripts/run-with-images.sh
After running the script you should see the containers up and running on docker desktop, you can expand docker-images to see:
You should be able to see port 3000:3000 or similar next to the documentation-generator container, you can simply click that to start the app in your browser.
TypeScript
58.3%
C#
37.3%
Shell
1.8%
PowerShell
1.4%
You can find the steps to setting up and runing the app below, please make sure that you read over them carefully as everything listed below is required to run the app
Before running locally ensure you have:
Head to docker's webstie where you should see the option to download docker desktop for your operating system, and then follow the install process
Run:
winget install --id Microsoft.AzureCLI --exact --source winget
Restart your terminal afterwards.
Verify installation:
az --version
Run:
brew update
brew install azure-cli
Verify installation:
az --version
Run:
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Verify installation:
az --version
Head to Azure and make sure that you setup (or are apart of) the docgenvault Key Vault used by the release scripts, with the following secret names:
| Name | Value |
|---|---|
| AI-API-KEY | your OpenAI key |
| AZURE-AD-CLIENT-ID | your client ID |
| AZURE-AD-CLIENT-SECRET | your client secret |
| AZURE-AD-TENANT-ID | your tenant ID |
| AZURE-OPENAI-ENDPOINT | your OpenAI endpoint |
| NEXTAUTH-SECRET | your next auth secret |
Then login to Azure by opening your terminal and typing:
az login
If prompted, select the correct subscription
Download the latest release of the app from here, simply click on the docker-images.zip folder which contatins all the artifacts and it will start downloading
Extract the docker-images.zip folder that you just downloaded into a single directory, and make sure you have docker desktop running. Keep the extracted files together so the folder contains docker-compose.images.yml, the scripts folder, and the four image tar files.
Open the docker-images folder in your terminal:
C:\Users\...\docker-images>
To fetch secrets from Azure Key Vault, generate .env.generated, and start all services use the following commands for your operating system:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\scripts\run-with-images.ps1
chmod +x scripts/run-with-images.sh
./scripts/run-with-images.sh
After running the script you should see the containers up and running on docker desktop, you can expand docker-images to see:
You should be able to see port 3000:3000 or similar next to the documentation-generator container, you can simply click that to start the app in your browser.
TypeScript
58.3%
C#
37.3%
Shell
1.8%
PowerShell
1.4%