3b. run the admin application locally, targeting your Cloud Foundry installation
First you need to configure the application either by passing in command line arguments (see below) or setting a number of environment variables.
To use environment variables set the following:
export CLOUDFOUNDRY_API_ENDPOINT=https://api.run.pivotal.io export CLOUDFOUNDRY_ORGANIZATION={org} export CLOUDFOUNDRY_SPACE={space} export CLOUDFOUNDRY_DOMAIN=cfapps.io export CLOUDFOUNDRY_SERVICES=redis export CLOUDFOUNDRY_USERNAME={email} export CLOUDFOUNDRY_PASSWORD={password} export CLOUDFOUNDRY_SKIP_SSL_VALIDATION=false
You need to fill in {org}, {space}, {email} and {password} before running these commands.
![]() | Note |
---|---|
Only set 'Skip SSL Validation' to true if you’re running on a Cloud Foundry instance using self-signed certs (e.g. in development). Do not use for production. |
Now we are ready to start the admin application:
java -jar spring-cloud-dataflow-admin-cloudfoundry-1.0.0.M2.jar [--option1=value1] [--option2=value2] [etc.]