Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 2 KB

howto-deploy-local.md

File metadata and controls

40 lines (25 loc) · 2 KB

Deploying Azure Resources for local Development

Home

This article explains how to deploy only the Azure services needed to do local development and debugging. At the end you will have a resource group deployed that contains everything you need for local development and debugging.

Deploy Azure Dependencies and generate .env file

  1. If you have not done so yet, clone the GitHub repository. To clone the repository you need git. If you do not have git installed on your system, follow the instructions for Linux or Mac, or Windows to install it. Open a new command prompt or terminal and run:

    git clone https://github.com/Azure/Industrial-IoT
    cd Industrial-IoT
  2. Open a command prompt or terminal to the repository root and run:

    • On Windows:

      .\deploy -type local
    • On Linux:

      ./deploy.sh -type local
  3. Follow the prompts to assign a name to the resource group for your deployment The script deploys only the dependencies to this resource group in your Azure subscription, but not the Microservices . The script also registers an Application in Azure Active Directory. This is needed to support OAUTH based authentication. Deployment can take several minutes. In case you run into issues please follow the troubleshooting help here.

  4. Once the script completes, you must select to save the .env file. The .env environment file is the configuration file of all Microservices and tools you want to run on your development machine.

Next steps

Now that you have successfully deployed Azure Industrial IoT Microservices to an existing project, here are the suggested next steps: