Skip to content

A template for deploying a WebSharper client-server application to Azure

License

Notifications You must be signed in to change notification settings

DaveEmmerson/ClientServer.Azure

 
 

Repository files navigation

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.

About

A template for deploying a WebSharper client-server application to Azure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • F# 58.6%
  • HTML 19.8%
  • Batchfile 17.4%
  • CSS 4.2%