Book Image

Deploying Node.js

By : Sandro Pasquali
Book Image

Deploying Node.js

By: Sandro Pasquali

Overview of this book

Table of Contents (14 chapters)
Deploying Node.js
About the Author
About the Reviewers

Installing applications on OpenShift

Red Hat, the enterprise Linux company, operates OpenShift, a cloud-hosting solution. OpenShift offers several options for how you want to deploy your apps—via a web-based interface, via the command line, or through an online IDE. As we've worked on the command line for our other deployment examples, we'll do the same with OpenShift.

Once you've joined and confirmed your account, you will need to install the OpenShift client tools—rhc. For the purposes of this section, I'll use the Mac OS X client. Regardless of which package you happen to choose, the command set remains the same:

sudo gem install rhc
gem update rhc

This will install the client and update it to the latest version.

Once installed, you will need to set up your SSH keys and authenticate with the system by running an rhc setup. Just enter your authentication information, confirm the installation of keys, and confirm the upload of credentials.

You will then be asked to enter a namespace. This...