Giter Site home page Giter Site logo

suavebootstrapper's Introduction

suave.io on Azure

Deploy to Azure

This repository shows how to use FAKE, Paket and KuduSync to deploy a 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.

How is it working?

Whenever you push to Azure the deploy.cmd will be run and

  • it downloads the latest paket.exe and uses it to restore the NuGet packages from the paket.dependencies
  • it uses FAKE to execute the build.fsx which can be used to compile an application
  • it uses KuduSync to synchronize the changes to your Website
  • it uses FAKE to run the site/webserver.fsx script which then starts a suave.io webserver

Going further

This is a basic setup and only starts a very small FAKE script on Azure. Feel free to modify the build and webserver script or you might even want to start a different application from it. If you need more NuGet packages then modify the paket.dependencies file and run .paket/paket.exe install. You can find more information in the Paket docs.

suavebootstrapper's People

Contributors

forki avatar shanselman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.