A template for deploying a WebSharper client-server application to Azure
F# HTML Batchfile CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MyApplication
.deployment
.gitignore
LICENSE
MyApplication.sln
README.md
build.cmd
paket.dependencies
paket.lock

README.md

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.