+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


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.

Table 1. Mandatory command-line arguments
Command-line argument Description
[-u|--user] BLUEMIX_USER Bluemix user ID or email address
[-p|--password] BLUEMIX_PASSWORD Bluemix password
[-o|--org] BLUEMIX_ORG Bluemix organization name
[-s|--space] BLUEMIX_SPACE Bluemix space name

Usage example:

Table 2. Optional command-line arguments
Command-line argument Description
[-a|--api] BLUEMIX_API_URL Bluemix API endpoint

(Defaults to https://api.ng.bluemix.net)

Parent topic: Script overview and usage