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.

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:
initenv.sh
  --user Bluemix_user_ID
  --password Bluemix_password
  --org Bluemix_organization_name
  --space Bluemix_space_name
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)