Let's now learn to deploy our installable and offline application to the cloud with the help of Git. We will use Red Hat's OpenShift to deploy our Firefox OS application. Go to https://www.openshift.com and sign up for a free account. You will be asked to write a domain name there; you can write anything you like. After signing up, click on Add Application. From there, you can select PHP 5.4. It will ask you for a public URL, which you can fill in. You can leave rest of the details as it is and click on Create Application. Doing so will bring up a set of instructions on your screen. Now, instead of continuing with the next steps from my machine, I will showcase how to continue with the help of a cloud-based development environment. We will use Cloud 9 IDE for this purpose. Simply go to https://c9.io and register there. Click on Create a new Workspace, select Custom workspace, and give it a name.
We are making use of the online development environment to save...