GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — msdocs-python/README.md at main · lyntasaitech/msdocs-python

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
28 lines (17 loc) · 1.25 KB
/

README.md

Copy path

File metadata and controls

28 lines (17 loc) · 1.25 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Deploy a Python (Django) web app to Azure App Service - Sample Application

This is the sample Django application for the Azure Quickstart Deploy a Python (Django or Flask) web app to Azure App Service. For instructions on how to create the Azure resources and deploy the application to Azure, refer to the Quickstart article.

Sample applications are available for the other frameworks here:

  • Flask https://github.com/Azure-Samples/msdocs-python-flask-webapp-quickstart
  • FastAPI https://github.com/Azure-Samples/msdocs-python-fastapi-webapp-quickstart

If you need an Azure account, you can create one for free.

For local development

Fill in a secret value in the .env file.

For local development, use this random string as an appropriate value:

SECRET_KEY=123abc

When you deploy to Azure

For deployment to production, create an app setting, SECRET_KEY. Use this command to generate an appropriate value:

python -c 'import secrets; print(secrets.token_hex())'
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.