Sample project template for a Vibe.D web app in a Docker container.
This project uses nix with direnv for development. You can instead install dmd and dub from their respective sources or homebrew.
direnv allow # or: nix-shell
make # or: dub
This uses the azure-cli. Get it with brew install azure-cli
.
az login
az group create --name rg-vibeweb --location eastasia
az appservice plan create --name plan-vibeweb --resource-group rg-vibeweb --is-linux
az webapp create --resource-group rg-vibeweb --name vibeweb --plan plan-vibeweb --deployment-container-image-name lionello/vibeweb
It's recommended to grab Azure's webhook URL from portal.azure.com and add it to your Docker repo as a webhook. This way Azure will get notified when the container is updated.
make push