Pull request sites are yellow-pond-042d21b03-{PRNumber}.westeurope.5.azurestaticapps.net/
For each PR there will be a custom environemnt created that will be listed on the PR.
There are two ways to run the project locally:
- Install Docker and Visual Studio Code
- Install the Remote - Containers extension in VS Code
- Clone this repository
- Open the repository in VS Code
- When prompted "Reopen in Container", click "Reopen in Container", or run the "Dev Containers: Reopen in Container" command from the Command Palette (F1)
- Once the container is built and running, press F5 or click the "Run and Debug" button in VS Code, then select "Launch Hugo & Functions"
This will automatically start both Hugo server and Azure Functions, and open the site in your browser.
winget install hugoor download from Hugo Releases (Extended version)npm install -g @azure/static-web-apps-clinpm i -g azure-functions-core-tools@4 --unsafe-perm true- Install Azure Functions Core Tools
- Start Hugo Server
hugo server --source site --config hugo.yaml,hugo.local.yaml --disableFastRender - Start Azure Functions
cd functions && func start - Start SWA Server
swa start http://localhost:1313 --api-location ./functions