So far, we have looked at how easy it is to perform Git-based deployments with OpenShift, where you perform a
git push command, and OpenShift builds and deploys the application. This is ideal if you want to perform source-based deployments. It may be that you want OpenShift to also manage your source code using Git. But there are cases when developers do not want to push their source code to OpenShift servers. In those cases, you can use binary deployments to deploy your binary artifact. This is ideal when you want to deploy binary artifacts, such as a
.war file, as Git is not an efficient means for storing binaries.
To step through this recipe, you will need rhc installed on your machine.