Presentation: DOWNLOAD IT HERE
What you'll learn:
- Enough terminology and concepts to be able to read other Azure Functions resources without being perpetually confused.
- A painless way to get Azure Functions running on your computer.
- How to get started with Azure Functions in Python.
- How to properly structure & refactore your Python code, so you can migrate your application to the cloud.
- Helpful external resources for the material covered here.
By the end of this workshop, you’ll be ready to start integrating other Azure frameworks using Python Azure Functions.
Azure Functions supports Python 3.6.x or 3.7.x. If you have a lower version, you have to update it. To install Python you need to download an installer:
- Windows: https://www.python.org/downloads/windows/
- Linux, Mac already has to have Python3, if you're not sure, type in command line:
python --version
orpython3 --version
and version will be in a first line. If you don't have proper version of python: - Mac (you have to have brew):
brew install python3
- Linux (Ubuntu):
sudo apt-get update sudo apt-get install python3.7
Install Azure Functions Core Tools.
To install Azure Functions Core Tools use:
- Windows:
To install runtime with npm in your terminal run: npm i -g azure-functions-core-tools@2 --unsafe-perm true
To install with chocolatey: choco install azure-functions-core-tools
Notice: To debug functions under vscode, x64 bitness is required: choco install azure-functions-core-tools --params "'/x64'"
- Mac:
Using npm
:
Set up npm. In your terminal run: npm install -g azure-functions-core-tools
Using brew
:
brew tap azure/functions
brew install azure-functions-core-tools@2
To verify that Azure Functions Core Tools
is installed correctly on your machine, run the func command in your terminal: func
- Linux:
In your terminal run:
wget -q https://packages.microsoft.com/config/ubuntu/18.10/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
Install Azure CLI.
Follow the instructions here.
Set up a free Azure account.
Install Postman.
Install Docker and make sure it is running.
- Python 3.6.x or 3.7.x.
- Clone the repository.
- Go to workshop and start with the README.md.
This workshop was set up by @PyLadiesAMS and Dana Arsovska.