chatr

πŸš€ Deploying Chatr

Pre-reqs:

The reason a fork is required is due to Azure Static WebApps having a slightly usual deployment model, after creating the resource in Azure, a GitHub Actions workflow is automatically created (by ARM) in the repo containing the app code, this workflow carries out the task of building/bundling and deploying the app.
If you were to work from a clone, the deployment would try to create this workflow in my repo, which would fail.

Deployment Notes

Deploy using make

From the root of the project run

make deploy GITHUB_TOKEN= \
  GITHUB_REPO= \
  AZURE_RESGRP= \
  AZURE_REGION= \
  AZURE_PREFIX=

Note when picking a value for AZURE_PREFIX, use something other than β€œchatr” as that will result in resource name clash