Update docs (#11)

* docs update WIP

* getting started guide updated

* update getting started guide

* clarify github app creation

* add webhook secret to getting started guide and gh-flow app

* restructure Readme

* fix the Organization assumption

* add mermaid diagram of the event flow

* devtunnel feature to devcontainer

* throw all the exceptions and add the history to the prompt

* Update github-flow.md

* update readme
This commit is contained in:
Kosta Petan
2024-03-14 16:29:23 +01:00
committed by GitHub
parent 36951aa216
commit baabd413eb
23 changed files with 281 additions and 416 deletions

View File

@@ -1,5 +1,7 @@
FROM mcr.microsoft.com/devcontainers/dotnet:8.0
# Install the xz-utils package
RUN apt-get update && apt-get install -y xz-utils ca-certificates curl gnupg
# RUN apt-get update && apt-get install -y xz-utils ca-certificates curl gnupg
RUN curl -fsSL https://aka.ms/install-azd.sh | bash
# RUN curl -fsSL https://aka.ms/install-azd.sh | bash
# RUN curl -sL https://aka.ms/DevTunnelCliInstall | bash

View File

@@ -8,17 +8,14 @@
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {},
"ghcr.io/devcontainers/features/common-utils:2": {},
"ghcr.io/devcontainers/features/common-utils:2": {
"configureZshAsDefaultShell" : true
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/azure/azure-dev/azd:latest": {},
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
"version": "18",
"nvmVersion": "latest"
},
"ghcr.io/azure/azure-dev/azd:0": {
"version": "stable"
}
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/azure/azure-dev/azd:0": {},
"ghcr.io/stuartleeks/dev-container-features/dev-tunnels:0": {}
},
"postCreateCommand": "bash .devcontainer/startup.sh",
"hostRequirements": {

View File

@@ -1,8 +1,8 @@
#!/bin/bash
curl -k https://localhost:8081/_explorer/emulator.pem > ~/emulatorcert.crt
sudo cp ~/emulatorcert.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
sleep 10
# curl -k https://localhost:8081/_explorer/emulator.pem > ~/emulatorcert.crt
# sudo cp ~/emulatorcert.crt /usr/local/share/ca-certificates/
# sudo update-ca-certificates
# sleep 10
dotnet restore sk-dev-team.sln
dotnet build util/seed-memory/seed-memory.csproj && dotnet util/seed-memory/bin/Debug/net7.0/seed-memory.dll
# dotnet build util/seed-memory/seed-memory.csproj && dotnet util/seed-memory/bin/Debug/net7.0/seed-memory.dll