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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to set environmental variables?

mohamedn4455443
Level 3
Level 3

How to set environmental variables for development and production ?

1 Accepted Solution
BrianKasingli
Correct answer by
Community Advisor
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
SundeepKatepally
Level 5
Level 5

Using runnodes in AEM.

 

Do look at the documentation on runmodes

Veena_Vikram
Community Advisor
Community Advisor

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

Kunwar
Employee
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...

BrianKasingli
Correct answer by
Community Advisor
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

mohamedn4455443
Level 3
Level 3
this command doesn't work with me " java -jar jar-name -r dev,sameplecontent"
jamesr11032597
Level 1
Level 1
Why do you need "environment variables" from the OS?