Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

0 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"