Using CoffeeScript with OpenShift Node.js applications
In the last recipe of this chapter, you will learn how to use CoffeeScript with OpenShift Node.js applications. You will develop an Express web application in CoffeeScript and deploy it to OpenShift.
Getting ready
To complete this recipe, you will need the rhc command-line client installed on your machine. Please refer to the Installing the OpenShift rhc command-line client recipe in Chapter 1, Getting Started with OpenShift, for details. This application will consume one gear, so if you don't have an extra gear available for this recipe, use the rhc delete app <app_name> --confirm
command to delete an existing application. To run this application on your local machine, you will need Node installed on your machine. You can get the latest installer of Node.js for your operating system from their official website (http://nodejs.org/download/).
How to do it…
Perform the following steps to create a CoffeeScript Express application...