What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi everybody, does anybody know if its possible to create/remove/edit spryker stores “dynamically”?
Hi everybody, does anybody know if its possible to create/remove/edit spryker stores “dynamically”? That means for example rolling out another store on demand via script without being preconfigured via code. And when yes, any experience with this? As far as i know there have to be made several configurations, stores.php, environmental configs etc. … is there some documentation for this? Best regards
Comments
-
I am quite sure that is not out of the box
0 -
Correct. this is not supported out of the box.
additionally, "simply" disabling the store in config without clearing the database will leave you with broken console commands0 -
Okay, even with a little downtime for clearing database etc?
0 -
again: not out of the box
this can be scripted, but there's no existing console command for that0 -
okay, so therefore the question if anybody else had a similar scenario …
0 -
I have disabled stores (which is why I know this will break) but I didn't have to create a script for it, we just create documentation for later if we happen to remove a store somewhere in the future
0 -
In the 1st part of 2020 we are going to detach the multi-store concept from codebase and env. With this, stores will become a virtual concept which you will be able to manage in DB. Custom codebucket (codebase extensions per store) will be enabled as well (eg DE and FR stores could use EU codebucket).
Until then it's possible only with project automation, where you need to consider a few store relationships:
• console commands should be able to access all stores in configured persistence
• RPC calls are bound to a store context, which is defined by APPLICATION_STORE env param
• codebase support per store extensions, you need to assess project code which leverages this feature0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random