Today, I am going to get my platform service configured and ready for development. For PortalGNU, I will be using Red Hat OpenShift.
First we select a web cartridge. In my case, I will select Node.JS.
Give the application a name.
The next screen will include necessary information for setting up git and pub keys. I installed the openshift toolkit (rhc) so I will continue there.
OpenShift includes shared databases and other features, called Cartridges. In my case, I want a MongoDB cartridge.
$ rhc app cartridge add -a portal -c mongodb-2.0
MongoDB 2.0 database added. Please make note of these credentials:
Root User: root
Root Password: *******
Database Name: portal
Connection URL: mongodb://127.0.0.1:27017
You can manage your new MongoDB by also embedding rockmongo-1.1
So at this point, I have mongoDB installed. Let's check out rockmongo, too.
$ rhc app cartridge add -a portal -c rockmongo-1.1
rockmongo-1.1 added. Please make note of these MongoDB credentials again:
RockMongo User : root
RockMongo Password: *******