Hosting with a Platform as a Service provider

A Platform as a Service Provider (PaaS) for Node incorporates all of the concepts discussed in the previous three chapters and boils deployment down to a very basic, yet powerful, set of commands. When it comes to deployment, PaaS can make our lives very easy. With one simple command our app is deployed, and with another we can seamlessly update and reinitialize.

In this example, we'll learn how to deploy to Nodejitsu, one of the leading Node hosting platform providers.

Getting ready

First, we'll install jitsu, Nodejitsu's deployment and app management command-line app.

sudo npm -g install jitsu

Before we proceed, we must sign up for an account as follows:

jitsu signup

The app will take us through the ...

Get Node Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.