- Open infrastructure folder
cd deploy/infrastructure
- Run
echo .env.example > .env.dev
- Login with azure cli
az login
- Set the account with the Azure CLI
az account set --subscription "<subscription-id>"
- Create a Service Principal
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<SUBSCRIPTION_ID>"
- Fill the
.env.prod
configurations. - Run
make ready
andmake deploy
.