https://github.com/mrange/mysuavebootstrap
A suave bootstrap site
https://github.com/mrange/mysuavebootstrap
Last synced: about 1 year ago
JSON representation
A suave bootstrap site
- Host: GitHub
- URL: https://github.com/mrange/mysuavebootstrap
- Owner: mrange
- License: apache-2.0
- Created: 2016-01-31T12:47:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-31T13:31:08.000Z (over 10 years ago)
- Last Synced: 2025-04-02T02:09:05.347Z (about 1 year ago)
- Language: F#
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# suave.io on Azure
(based on [shanselman/suavebootstrapper](https://github.com/shanselman/suavebootstrapper))
[](https://azuredeploy.net/)
This repository shows how to use [FAKE](https://github.com/fsharp/FAKE), [Paket](https://github.com/fsprojects/Paket) and [KuduSync](https://github.com/projectkudu/KuduSync) to deploy a [suave.io](http://suave.io/) website to Azure.
## Getting started
* Go to http://azure.microsoft.com/ and create an Azure account
* Clone this repo and follow the setup steps from https://azuredeploy.net/
* Congratulations your first suave.io website is running on Azure!
* (Optional) Look at your Azure management portal and copy the deployment trigger url to the webhooks of your github repo.
* This allows you to trigger deployments via `git push origin master`.
## Build locally
* Install dependencies with [PAKET](http://fsprojects.github.io/Paket/getting-started.html)
* Run ```build.fsx``` to build web server binary
* Or run ```fsi site/900.webserver.fsx```
## What's the difference with Scott's bootstrap?
* Scott's bootstraps uses FAKE to execute FSI that executes the site (when I last checked)
* This bootstrap compiles using FAKE on deployment and then starts the compiled binary