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

Deploying your code to OpenShift Online


In this recipe, you will learn how to re-deploy an application whenever the source code updates happen. This is done automatically for you by OpenShift Online, which triggers compilation and deployment every time a commit is applied to your code.

Getting ready

  1. First of all, we need a project on GitHub that we can use for our test. For this reason, I've created a project called openshiftcoding-wildflycookbook on my GitHub repository, available at https://github.com/foogaro/openshiftcoding-wildflycookbook.

  2. If you do not have an account on GitHub, this might be a good reason to have one. Sooner or later you will need one. To get started quickly, go to the GitHub site at https://github.com and sign up. Once the registration process is complete, you will be ready to create a repository, which will host the source code of your application. If you don't have an application, you can borrow mine.

  3. Anyway, this time you don't have to download or git-clone my GitHub...