Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamlit on Azure AppService

This repo is an example of deploying a Python application on Azure AppService with the help of Azure Developer CLI (azd).

The example deploys a Streamlit app, but it can be any Python script or application on Flask, FastAPI, etc.

Local setup

A good practice is to create a virtual environment like:

python3 -m venv .venv ; source .venv/bin/activate

(the exact command can be different depending on your OS and setup)

Then install Python dependencies:

pip install -r app/requirements.txt

And run:

streamlit run app/app.py

Azure

For Azure, follow azd docs, but it's as simple as:

azd provision
azd deploy

or just:

azd up

The Makefile also has examples of some useful commands.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages