Azure Function - Local Setting
Azure Function 기능을 이용하기 위하여
Cloud에 Deployment 하기 전 로컬 환경에서 해당 함수를 테스트 할수 있는 환경을 구축합니다.
1. Window Azure Function 응용프로그램 설치
https://github.com/Azure/azure-functions-core-tools#installing
Azure/azure-functions-core-tools
Command line tools for Azure Functions. Contribute to Azure/azure-functions-core-tools development by creating an account on GitHub.
github.com
해당 링크 주소를 접속하게 되면 아래와 같은 화면을 볼 수 있는데 이 부분을 클릭하여 설치를 진행한다.
2. PowerShell Choco 설치
https://chocolatey.org/install
Installing Chocolatey
Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Chocolatey integrates w/SCCM, Puppet, Chef, etc. Chocolatey is trusted by businesses to manage software deployments.
chocolatey.org
Choco를 설치하기 위해서 위 링크를 접속하여 아래 텍스트를 복사한다.
PowerShell을 관리자 권한으로 실행하여
위 복사한 문자열을 실행하여 Choco 설치
3. VS Code에 init 함수를 F5를 눌러 실행