For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
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.
Table 1. Mandatory command line arguments Command line argument Description [-n|--name] APP_NAME Name of the MobileFirst Server application Usage example:
startserver.sh --name mobilefirst80app
Table 2. Optional command line arguments Command line argument Description [-h|--host] APP_HOST The hostname for the application route to be created. The application name (APP_NAME) is taken as the default value for the hostname. [-d|--domain] DOMAIN_NAME Domain name used in the application route. mybluemix.net is taken as the default value. [-m|--memory] SERVER_MEM Assign a memory size limit to the container in megabytes (MB). Accepted values are 1024 MB (default) and 2048 MB. [-i|--instances] INSTANCES The desired number of nodes (instances) of the application that we want to create. The default is a 2 node application.
Parent topic: Script overview and usage