on 2022 Sep 19 3:52 PM
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
Request clarification before answering.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefania,
Please follow the instructions here JavaScript Storefronts to setup your Spartacus storefront on CCv2.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
17 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.