Book Image

Wildfly Cookbook

Book Image

Wildfly Cookbook

Overview of this book

Table of Contents (23 chapters)
WildFly Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Installing the WildFly cartridge for our first deployment


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.

Getting ready

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.

  1. For this reason, download the entire repository named wildfly-cookbook-oso, from my GitHub account at https://github.com/foogaro/wildfly-cookbook-oso.git.

  2. 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 called openshift-welcome. To compile the project, execute the following commands:

    $ cd ~/WFC/github/wildfly-cookbook-oso
    $ cd openshift-welcome
    $ mvn clean package
  3. In the target folder, generated by maven, you should find the openshift-welcome.war artifact ready to be deployed.

Let...