This git repository contains all the Azure functions used in the coffee maker example dialog. Due to the ability of Azure to create continuous deployment from most development platform (Github, Bitbucket, etc.) we suggest that you simply fork this repo in your own namespace.
- An account on GitHub
- An account on Azure and a valid subscription
- Fork this project in your own namespace.
- Create a Function App resource. You can use the Azure tutorial and stop before
Create an HTTP triggered function
section. - Follow the Azure instructions to Link your GitHub project to the newly created Azure Function
- In the Deployment Center press Sync and wait for the Azure Function App to be deployed.
- Validate that the functions are properly running
$ curl <your-function-app-name>.azurewebsites.net/api/v1/coffee/1.0.0/capabilities
{
"data": {
"systemResponse": [
"APP_ENTRY"
],
"clientData": [
"price"
]
}
}
Go to mix and create a project using the files in the mix.ide
folder.
Update the DRSS settings from mix.dialog.
Go to the Try
tab and start the simulation.
The easiest way to develop is simply to set the Function App edit mode to Read/Write
and develop directly in the Azure web code editor.