In this recipe, you will learn how to configure the WildFly cartridge using your OpenShift Online account. If you still don't have an account, please refer to the first recipe of this chapter.
As we will operate online most of the time, you need to have an Internet connection. On the other hand, all we need locally is a web application to deploy.
For this reason, download the entire repository named
wildfly-cookbook-oso
, from my GitHub account at https://github.com/foogaro/wildfly-cookbook-oso.git.You can
git-clone
the project or just download it as a ZIP archive. Either way, place the source in our~/WFC/github
path. There you can find a project calledopenshift-welcome
. To compile the project, execute the following commands:$ cd ~/WFC/github/wildfly-cookbook-oso $ cd openshift-welcome $ mvn clean package
In the
target
folder, generated by maven, you should find theopenshift-welcome.war
artifact ready to be deployed.
Let...