Constants in on-premise Pivotal CloudFoundry

0
On-premise beginner question: how do I reach Mendix constants with the CloudFoundry command line tool and how can I set them?
asked
1 answers
1

Hi Remco,

Please read the CF buildpack documentation: https://github.com/mendix/cf-mendix-buildpack
Just a side note: CloudFoundry is pretty much "cloud", no On Premise.

There are various ways you can set the constants:

  1. Using the CF CLI: cf set-env <YOUR_APP> MX_Module_Constant "ABC123"
  2. Go to a CF admin website (for instance IBM Bluemix console or Pivotal admin environment) and enter the variables there
  3. Push (cf push -f ./different-directory-1/different-directory-2/alternate_manifest.yml) your application with a CF manifest yaml file: https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#env-block
answered