cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy spartacus on Cloud

stefaniaZ
Participant
0 Kudos
1,124

hi ,

I need deploy spartacus on cloud, but I do not find guide. I have three environment; dev, stage, prod, but I do not understand how specify the correct environment in deploy. Could you help me please?
Stefania

Accepted Solutions (0)

Answers (3)

Answers (3)

samuelyang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Stefania,

This is a known issue of Commerce Cloud, as of now environment specific deployment for Spartacus is not supported yet. It's using the prod env file by default.

For more details please see Introduce environment specific configurations for Spartacus deployment on ccv2 · Issue #5772 · SAP/s...

samuelyang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Stefania,

Please follow the instructions here JavaScript Storefronts to setup your Spartacus storefront on CCv2.

stefaniaZ
Participant
0 Kudos

Hi Samuel,

I read the documentation, but I do not understand.

I have one site and three environment: dev, stage and production.

On Spartacus I have three environment.ts: environment.stage.ts, environment.prod.ts and environment.dev.ts.

I do not find where specify that for stage enviroment the cloud must use enviroment.stage.ts and that for dev environment cloud must use environment.dev.ts.

Stefania

mansurarisoy
Contributor
0 Kudos

Did you check Sample Commerce Cloud Repository from SAP? It might be helpful to understand common configuration. If you elaborate more what you mean by the "configuring correct environment" people may offer you more help on it.