How to Deploy Vorlon.JS to Azure Web App

This video will walk you through how to deploy Vorlon.JS to an Azure Web App using Git version control. The pre-requisites for this video are that you have an active Microsoft Azure account and node.js installed.

Instructions

  1. Create new web app using custom create
    1. From the configure section, Turn on Web Sockets – Save
  2. Go Back to Dashboard
  3. Setup deployment from source control
    1. Select Local Git Repository
      1. This will create the Git repository
  4. Install VorlonJS on your machine
  5. nodejs must be installed already. If not, install from nodejs.org
    1. Open node.js command prompt
    2. Enter the following: npm i –g vorlon
  6. Test Vorlon
    1. Type the following: vorlon
      1. To terminate: Terminate – ctrl + c
  7. You should be in your user folder. We must now browse to the proper folder
    1. cd appdata
    2. cd roaming
    3. cd npm
    4. cd node_modules
    5. cd vorlon
  8. Type: start . (this will launch explorer)
  9. Open another explorer
    1. Create a new folder (ex C:\Dev\VorlonJS)
  10. Copy node_modules folder from vorlon folder to the new folder
  11. Copy all the files WITHIN the server folder (within vorlon folder) to the new folder you created
  12. Create new text file package.json
  13. Edit the file and add the following

Now we want to commit this into azure website

  1. Open Git Bash
    1. Get GIT url from Azure Deployments page
      1. It also has instructions
    2. Browse to your vorlonjs folder you created (example: cd /c/dev/vorlonjs)
    3. Now we are going to use the commands from azure to add files to git
      1. git init
      2. git add .
      3. git commit –m “initial commit”
    4. Again copying right from azure to add remote repository and commit
      1. git remote add azure (this line will be in your azure account)
      2. git push azure master
        1. If need be use reset deployment credentials
      3. Enter your password
  2. When it’s done it should now say “Active Deployment”
  3. Go to dashboard / URL
  4. First time it loads it may error out, just refresh it
  5. That’s it!

 

Coders Cafe Special – VS2015 Debugging + OzCode

Visual Studio hosts a powerful and capable debugger, but many developers are unaware of some of its most powerful features. In this session we’ll take a deep dive into the Visual Studio debugger as it applied to .NET programs and see some of its interesting and powerful features. We’ll take a look at some of the new features in the Visual Studio 2015 debugger as well. We’ll talk about debugging strategy and leveraging the scientific method to become much more efficient at solving bugs. We’ll also see the OzCode Visual Studio extension that can help streamline and enhance the debugging experience, making debugging much simpler, more efficient and even fun!, a word not often associated with debugging. Super-useful tips for using the debugger will be given throughout the session. Your debugging experience will never be the same.

Alon Fliess is the Chief Architect & Founder of CodeValue. CodeValue is the home of software experts. We build software tools, foundations and products for the software industry. We offer mentoring, consulting and project development services. Alon is also a Microsoft Regional Director (MRD). Alon is an expert in many technologies, including Windows internals, C++ Windows programming (Win32/WinRT), .NET with C#, Microsoft Azure Cloud Computing, Internet of Things (including hardware devices such as Raspberry PI, Arduino, Netduino, Intel Galileo and others and Azure IoT services such as Azure Event Hub and Stream Analytics). Check out his Windows Store Game: http://bit.ly/1SFe4dJ

Sponsored by Gravity IT Resources