Using IBM WebSphere Liberty for Pivotal Platform
This topic describes how to use IBM WebSphere Liberty for Pivotal Platform.
Before deploying applications using the IBM WebSphere Liberty for Pivotal Platform buildpack, accept the IBM Liberty license and IBM JRE license by following the instructions below:
- Read the current IBM Liberty-License and the current IBM JVM-License.
- Extract the
D/N: <License code>from the Liberty-License and JVM-License.
Add the following environment variables and extracted license codes to the
manifest.ymlfile in the directory from which you push your application. For more information about the format of the
manifest.ymlfile, see Deploying with Application Manifests in the Cloud Foundry documentation.
--- ... env: IBM_JVM_LICENSE: <JVM license code> IBM_LIBERTY_LICENSE: <Liberty license code>
After you have accepted the licenses and added the license code to the
use the following command to deploy the application with the IBM WebSphere Liberty for Pivotal Platform buildpack:
cf push APP-NAME -b ibm_websphere_liberty_buildpack
$ cf push my-app -b ibm_websphere_liberty_buildpack