Sunday, July 6, 2014

Using Cloud9 IDE with Node.js on Red Hat OpenShift

Prerequisites
Login to your Cloud9 IDE account and select "Create new workspace".

Fill in the create new workspace information:
  • Workspace name
  • Workspace privacy
  • Hosting: Hosted
  • Custom
Select the Create button.



Go to your OpenShift Node.js application and copy the source code URL.


Go back to the Cloud9 IDE and select the "Start editing" button to open your workspace.

Enter the git clone command with your OpenShift Node.js application source code URL in the Terminal window at the bottom of the workspace.


After making code changes, deploy them to OpenShift by enter the following in the Terminal window:
  • git commit -a -m 'comment'
  • git push

3 comments: