Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to set environmental variables?

Avatar

Level 4

How to set environmental variables for development and production ?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
Run modes allow you to configure your AEM instance for a specific purpose (dev, uat, prod, staging), follow this informative blog tutorials to expand your knowledge for how to configure and consume run modes for your AEM development practices:

View solution in original post

8 Replies

Avatar

Community Advisor

Using runnodes in AEM.

 

Do look at the documentation on runmodes

Avatar

Community Advisor

@mohamedn4455443 Can you be more little specific on the question ? What environment variable do you want to set ? Where ? 

Avatar

Employee

You can rely on Cloud Manager APIs (1) and set environment variables. This would need an integration via Adobe IO console so you can interact with Cloud manager to  do things.

 

(1) : https://www.adobe.io/apis/experiencecloud/cloud-manager/api-reference.html#/Variables/patchEnvironme...

Avatar

Correct answer by
Community Advisor
Run modes allow you to configure your AEM instance for a specific purpose (dev, uat, prod, staging), follow this informative blog tutorials to expand your knowledge for how to configure and consume run modes for your AEM development practices:

Avatar

Level 4
this command doesn't work with me " java -jar jar-name -r dev,sameplecontent"

Avatar

Level 2
Why do you need "environment variables" from the OS?