GithubHelp home page GithubHelp logo

mattdonnelly10 / simple-flask-azd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tonybaloney/simple-flask-azd

0.0 0.0 0.0 149 KB

A tiny template for Azure Developer CLI with Flask running in App Service

License: MIT License

Python 14.31% Bicep 85.69%

simple-flask-azd's Introduction

Simple Flask AZD Template

The most basic Flask "hello world" application as an AZD template ready for Azure App Service

system diagram

Usage

  1. Install AZD and run the following command to initialize the project.
azd init --template tonybaloney/simple-flask-azd

This command will clone the code to your current folder and prompt you for the following information:

  • Environment Name: This will be used as a prefix for the resource group that will be created to hold all Azure resources. This name should be unique within your Azure subscription.
  1. Run the following command to build a deployable copy of your application, provision the template's infrastructure to Azure and also deploy the applciation code to those newly provisioned resources.
azd up

This command will prompt you for the following information:

  • Azure Location: The Azure location where your resources will be deployed.
  • Azure Subscription: The Azure Subscription where your resources will be deployed.

NOTE: This may take a while to complete as it executes three commands: azd package (builds a deployable copy of your application), azd provision (provisions Azure resources), and azd deploy (deploys application code). You will see a progress indicator as it packages, provisions and deploys your application.

  1. Then make changes to app.py and run azd deploy again to update your changes.

Notes

This uses the F1 (free) SKU for app service, which has limited CPU and RAM resources.

See the pricing calculator for details on paid SKUs replace the SKU option with a suitable choice.

simple-flask-azd's People

Contributors

tonybaloney avatar surenderssm avatar pamelafox avatar v-xuto 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.