GithubHelp home page GithubHelp logo

brady's Introduction

terraform

URL

https://bradyweatherjml.azurewebsites.net

deploy an azure static web app

Azure static web apps are a new type of web apps ; globally distributed. offers serverless APIs with Azure Functions. has builtin authentication and routing rules and TLS certificates. We can also provide a staging environment as the code the Blazor repository has an environment variable. The workflow has 3 parts. (in .github/workflows/azure-webapps-dotnet-core.yml) creating the static web app in azure ; build and then deploying the dotnet blazor application. I have previously added the variables on the github secrets. This terraform code deploys an azure web app called BradyWeather in the resource group brady

Automated steps in Azure

Variables are stored in the github secrets

done in the terraform folder:

  • create the resource group
  • create the azure web app

build and deploy steps are done in the workflow

set the secrets

TODO: use the secrets for the accuweather dotnet user-secrets set "Web:WeatherApi:ApiKey" "<the_accuweather_api_token>"

Dotnet

TODO : understand how Dotnet deploys the app which can run locally by

cd Src/Presentation/BradyWeather.Blazor.Server
dotnet watch run

Prereq: install dotnet 3.1 locally.

brady's People

Contributors

jsia9 avatar davidsteelebrady avatar jberesford avatar maulemon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.