For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Script overview and usage
Use the scripts for configuring, building, and deploying a MobileFirst Server as a Liberty for Javaâ„¢ Cloud Foundry application.
The scripts are located in the package_root/mfpf-server-libertyapp/scripts folder.
- Environment initialization script to build and run MobileFirst Server | initenv.sh
This script file creates the environment for building and running a MobileFirst Server and performs the tasks necessary for logging into IBM Bluemix. Run this script before running any other scripts for building and deploying IBM MobileFirstâ„¢ Platform Foundation.- Script to configure databases | prepareserverdbs.sh script
This script configures MobileFirst Server databases (administration, configuration, runtime and push). You must run this script before creating the Liberty for Java Cloud Foundry application.- Script to create MobileFirst Server as a Cloud Foundry app | prepareserver.sh
This script creates the MobileFirst Server as a Liberty for Java Cloud Foundry application and pushes it to IBM Bluemix. Ensure that you run the prepareserverdbs.sh before running this script.- Script to run MobileFirst Server as a Cloud Foundry app | startserver.sh
This script runs the MobileFirst Server as a Liberty for Java Cloud Foundry application on IBM Bluemix. Ensure that you have run the prepareserver.sh script to upload the application to IBM Bluemix before running this script.
Parent topic: MobileFirst Server as Liberty for Java Cloud Foundry application on IBM Bluemix