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 Analytics container image.
The scripts are located in the package_root/mfpf-analytics/scripts folder.
- Environment initialization script to build and run MobileFirst Analytics in a container | initenv.sh
This script file creates the environment for building and running a MobileFirst Analytics container and performs the tasks necessary for logging into Bluemix® and the IBM® Containers environment. You must run this script before running any other scripts for building and deploying MobileFirst Analytics container images.- Script to create MobileFirst Analytics image | prepareanalytics.sh
This script creates the MobileFirst Analytics image and pushes it to IBM Containers on Bluemix. Ensure that you have run the initenv.sh before running this script.- Script to run MobileFirst Analytics in a container | startanalytics.sh
This script runs the MobileFirst Analytics image as a container on IBM Containers on Bluemix. Before running this script, ensure that you have run the prepareanalytics.sh script to upload the image to the IBM Containers registry.- Script to run MobileFirst Analytics in a container group | startanalyticsgroup.sh
This script runs a MobileFirst Analytics image as a container group on IBM Containers on Bluemix. Before running startanalyticsgroup.sh, ensure that you have run the prepareanalytics.sh script to upload the container image to the IBM Containers registry.
Parent topic: MobileFirst Analytics containers