Giter Site home page Giter Site logo

iojs-azure's Introduction

Deploy to Azure io.js on Azure Websites

Want to use Azure Websites with the latest version of io.js? Simply include .deployment, deploy.cmd and iisnode.yml in your project. Done!

A tutorial can also be found on Azure.com.

Creating a io.js Website from Scratch

Option A (for quick testing and small apps)

  • Click the 'Deploy to Azure' button in the title of this readme to deploy this repository with an empty app.js. The 'Deploy to Azure' asisstant will automatically create a website for you and guide you through the process. Once created, you can then use Visual Studio Online or FTP to work on your application.

Option B (for deployment workflows)

The Deployment Script in Detail

  • .deployment instructs Azure to run deploy.cmd as the deployment command
  • deploy.cmd runs the usual Azure Websites deployment for Node Apps, but also downloads the latest version of io.js - saving it to D:\home\site\bin\iojs. Folders are created if necessary and older versions of io.js overwritten.
  • iisnode.yml finally tells Azure Websites to use the just downloaded iojs.exe as Node binary.
  • app.js is entirely optional and simply spits out the installed version of io.js. It's only included to "prove" that io.js is running, but you should most likely replace it with your own app.js/server.js.

Copyright and License

  • Copyright (c) Microsoft Corporation
  • Released under the MIT License (MIT)
  • Please see LICENSE.md for more information.

iojs-azure's People

Contributors

felixrieseberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

iojs-azure's Issues

Using task runner to do setup

I use gulp in my app to do some setup of my environment and I can't get it to work with this script. Any thought on how to get it working?

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.