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 container image.
The scripts are located in the package_root/mfpf-server/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 container image.- Script to create MobileFirst Server image | prepareserver.sh
This script creates the MobileFirst Server image and pushes it to IBM Containers on Bluemix®. Ensure that you run the prepareserverdbs.sh before running this script.- Script to run MobileFirst Server in container | startserver.sh
This script runs the MobileFirst Server image as a container on IBM Containers on Bluemix. Ensure that you have run the prepareserver.sh script to upload the image to the IBM Containers registry before running this script.- Script to run MobileFirst Server in container group | startservergroup.sh
This script runs a MobileFirst Server image as a container group on IBM Containers on Bluemix. Before running startservergroup.sh, ensure that you have run the prepareserver.sh script to upload the container image to the IBM Containers registry.
Parent topic: MobileFirst Server container