Giter Club home page Giter Club logo

azure-node4's Introduction

Run Node.js 4.1 on Azure

Deploy to Azure

Node.js 4.0 is the first "merged" version of Node.js and io.js, combining their powers for the good of humanity and JavaScript developers everywhere - especially those using modern EcmaScript features. The stable version now available - and can be easily deployed on Azure.

This repository contains the files required to run the Node.js 4.1.0 (Stable) on Azure Web Apps.

Usage

Simply include .deployment, deploy_node4.sh and iisnode.yml in your project. Done! Or, if you'd like to be even faster - simply click the 'Deploy to Azure' button on this page!

Creating a Node 4.1 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' assistant 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\node4. Folders are created if necessary and older versions of io.js overwritten.
  • iisnode.yml finally tells Azure Websites to use the just downloaded node.exe as Node binary.
  • app.js is entirely optional and simply spits out the installed version of Node.js. It's only included to "prove" that Node 4.1 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 for more information.

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.