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 trivial signup process and create an account for us, which we must confirm by email.
Note
Nodejitsu is not the only Node PaaS, there are others such as no.de, Nodester, and Cloud Foundry which follow similar processes.
Once we've received our email...