To get started, add your framework of choice and modify .openshift/action_hooks/{start, stop} to start and stop your application.
The only restriction is that your application should bind to $OPENSHIFT_DIY_IP:8080
Don't forget to stop the existing server that is running before you push your stop file.
git commit -a -m 'Some commit message' git push