Creating our first OpenShift application

Before we develop an application to run on OpenShift, we should first define some OpenShift terms:

  • Application: This is obviously the application you will deploy to OpenShift.
  • Gear: This is the container that contains your server, along with the various resources required to run your application, such as RAM, the processor, and hard disk space.
  • Cartridge: A cartridge is a plugin that provides a specific functionality. For example, you can select a WildFly cartridge and a database cartridge to be added to your gear.

Installing your first cartridge

To view all available cartridges, run the following command:

$ rhc cartridge list

The syntax to create an application is as follows:

$ rhc app create app_name cartridge_name ...

Get WildFly Configuration, Deployment, and Administration - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.