You can follow this blog to make this application run on OpenShift https://openshift.redhat.com/community/blogs/polyglot-persistence-spring-applications-on-openshift-part-1
rhc app create -a notebook -t jbossas-7 -l <openshift_login_email> -d
rhc cartridge add -a notebook -c mongodb-2.2
rhc cartridge add -a notebook -c rockmongo-1.1
After you have created the application using rhc create app command and added MongoDB and RockMongoDB client cartridge using rhc app cartridge add command you have to checkout the code from my github. To do that follow the steps mentioned below.
git remote add notebook -m master git://github.com/shekhargulati/notebook-part1.git
git pull -s recursive -X theirs notebook master
git push