Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotnet-websharper/clientserver.azure
A template for deploying a WebSharper client-server application to Azure
https://github.com/dotnet-websharper/clientserver.azure
Last synced: 7 days ago
JSON representation
A template for deploying a WebSharper client-server application to Azure
- Host: GitHub
- URL: https://github.com/dotnet-websharper/clientserver.azure
- Owner: dotnet-websharper
- License: apache-2.0
- Created: 2015-05-11T23:30:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-26T22:35:15.000Z (almost 9 years ago)
- Last Synced: 2023-05-10T20:35:18.932Z (over 1 year ago)
- Language: F#
- Size: 19.5 KB
- Stars: 4
- Watchers: 5
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ClientServer.Azure
A template for deploying a WebSharper client-server application to Azure from source control. It uses
[paket](http://fsprojects.github.io/Paket/index.html) and `FSharp.Compiler.Tools` to build and deploy your app on Azure.[![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://azuredeploy.net/?repository=https://github.com/intellifactory/ClientServer.Azure)
The template uses Paket instead of Nuget, and you can build your project with build.cmd (you will need [curl](http://curl.haxx.se/) installed and on your path). Run build.cmd before opening in Visual Studio as well.
# Steps
0. Create an Azure account at http://azure.microsoft.com if you don't have one.
1. Click on the button above and follow the steps to set up a new Azure Web App via GitHub
2. See your app running on the URL you configured.
3. Every source push will trigger an update to your Azure app.
# How does it work?0. When you push to your repo, `deploy.cmd` will execute.
1. This will curl [paket](http://fsprojects.github.io/Paket/index.html) and restore the necessary packages (`WebSharper` and `FSharp.Compiler.Tools`)
2. It will compile your app using `msbuild`.
3. And it will copy it to the web root/deployment folder.