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.
- initenv.sh script
This script file creates the environment for building and running a MobileFirst Server container and performs the tasks necessary for logging into Bluemix® and the IBM® Containers environment. Run this script before running any other scripts for building and deploying IBM MobileFirst™ Platform Foundation container images. - prepareserverdbs.sh script
This script configures MobileFirst Server databases (administration and runtime). This script must be run once to configure the administration database and then once for each runtime. - prepareserver.sh script
This script creates the MobileFirst Server image and pushes it to IBM Containers on Bluemix. Ensure that you have run the prepareserverdbs.sh to configure the database before running this script. - startserver.sh script
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. - startservergroup.sh script
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. - removeproject.sh script
This script removes a project from the IBM MobileFirst Platform Foundation configuration.
Parent topic: MobileFirst Server containers