Create an executable project (API and Admin App) from a database or natural language prompt with 1 command, customize with declarative rules and Python in your IDE, containerize and deploy.
You can repair the .devcontainer/devcontainer.json:
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.194.0/containers/docker-existing-dockerfile
{
"name": "Existing Dockerfile",
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "For_VSCode.dockerfile",
// Set *default* container specific settings.json values on container create.
// "settings": {},
// add network -- enable this as required, e.g., https://apilogicserver.github.io/Docs/Database-Connectivity/
// "runArgs": ["--network=dev-network"],
// Add the IDs of extensions you want installed when the container is created.
// "extensions": [], **** Note - Python added in customizations (autoloads Python in devcontainer)
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set default container specific settings.json values on container create.
"settings": {},
"extensions": ["ms-python.python"]
}
},
"portsAttributes": {
"5656": {
"label": "AdminApp"
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [5656],
"features": {
"github-cli": "latest"
},
"postAttachCommand": "/bin/bash .devcontainer/setup.sh"
// Uncomment the next line to run commands after the container is created - for example installing curl.
// "postCreateCommand": "apt-get update && apt-get install -y curl",
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
}
Fix coming.
You can repair the .devcontainer/devcontainer.json: