Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.23 KB

README.md

File metadata and controls

23 lines (15 loc) · 1.23 KB

ClientServer.Azure

A template for deploying a WebSharper client-server application to Azure from source control. It uses paket and FSharp.Compiler.Tools to build and deploy your app on Azure.

Deploy to Azure

The template uses Paket instead of Nuget, and you can build your project with build.cmd (you will need curl installed and on your path). Run build.cmd before opening in Visual Studio as well.

Steps

  1. Create an Azure account at http://azure.microsoft.com if you don't have one.
  2. Click on the button above and follow the steps to set up a new Azure Web App via GitHub
  3. See your app running on the URL you configured.
  4. Every source push will trigger an update to your Azure app.

How does it work?

  1. When you push to your repo, deploy.cmd will execute.
  2. This will curl paket and restore the necessary packages (WebSharper and FSharp.Compiler.Tools)
  3. It will compile your app using msbuild.
  4. And it will copy it to the web root/deployment folder.