GithubHelp home page GithubHelp logo

rcarun / azflaskup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from achandmsft/azflaskup

0.0 0.0 0.0 25 KB

Deploy a Python Flask app using the Azure CLI (http://aka.ms/cli)

License: MIT License

Python 100.00%

azflaskup's Introduction

Deploying a Python app on Azure

Go to http://shell.azure.com and run the following (Or run locally using the Azure CLI) -

Deploy the app

The name for your app must be globally unique as it will prefix the website address: http://yourapp.azurewebsites.net/
$ git clone https://github.com/achandmsft/azflaskup $ cd azflaskup $ az webapp up --name --location centralus

Make changes and redeploy the app

$ code app.py 
$ az webapp up --name <enter a unique name for your app> --location centralus   

For more on Azure CLI, go to http://aka.ms/cli (az webapp up: http://aka.ms/azwebappup)

Known issue

If you get an exception with the above in shell.azure.com that resource group name is invalid, run az login and complete the instructions clicking on the devicelogin link and pasting the code from the az login output.

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

azflaskup's People

Contributors

achandmsft 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.