Deploying to a server - davidni/kudu GitHub Wiki

Here are some of the steps that are needed to deploy Kudu to a Windows 2012 server:

  • Enable Web Server role, and within that:
    • Application Development / ASP.NET 4.5
  • Make sure you have all the relevant target files in your "%ProgramFiles(x86)%\MSBuild" folder. Installing Visual Studio brings in those files. See related discussion here.
  • Install:
    • Git
    • Node
  • On the machine with your Kudu repo, run build.cmd at the root. This will create an 'artifacts' folder
  • Copy `artifacts\Release\KuduWeb' files to C:\inetpub\wwwroot
    • Create an empty App_Data in there
  • Copy the artifacts\Release\SiteExtensions\Kudu files into C:\inetpub\Kudu.Services.Web
  • Change AppPool to run as LocalSystem so it can manage IIS sites
  • Give 'Users' full access to C:\inetpub\apps, which is where sites get created
    • Note that you can change that location using the sitesPath AppSetting in Kudu.Web's web.config.