This contains the guidance to provision resources in Azure for the Twitter Sentiment Analysis. You can do this in several ways:
- With a build and release pipeline
- With a script
- By doing it manually
Start by logging in to the Azure portal with your team account, https://portal.azure.com
- Setup azure resources by doing the following steps:
- Select create resource and select "Template deployment (deploy using custom templates)"
- Select "Build your own template in the editor"
- Copy and paste code from github, click save
- Select your resource group and a location close to you (it must be one of the following)
- Leave CommonName as it is and write prod as the environment name. Agree to the terms and click purchase
- When the provisioning is done open your resource group and select your app service. Select + next to functions and create new function. Select HTTP trigger based on C# and call the function TwitterSentimentFunction
- Click create and copy code from github, click save
Once you have deployed these resources, you will need a twitter application (ConsumerKey,ConsumerSecret) and can configure one the following Azure DevOps extensions: