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:
The syntax to create an application is as follows:
$ rhc app create app_name cartridge_name ...