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, I'm having trouble using the docker/sdk after having modified composer.json (I've installed midd
Hi, I'm having trouble using the docker/sdk after having modified composer.json (I've installed middleware/process), since spryker will build the container using default autoload.php.
Can anybody tell me the best way to use local composer.json in docker/sdk.
Comments
-
What exactly is the issue? Did you add middleware namespace to config
$config[KernelConstants::CORE_NAMESPACES]
0 -
The issue in fact is, that if I check out my working changes and do a docker/sdk up on another machine docker/sdk up will crash because it will not use the changed local composer.json but afaik an unchanged one from spryker repo.
0 -
hmm, this sounds strange. I might as a stupid question here, but does other machine use the same code? Did you commit also composer lock file?
0 -
i am also not 100% clear here π€
0 -
can you detail your steps again, @USPRPK45Q?
0 -
@USPRPK45Q Please, describe the flow of commands you do to up Spyker.
Do you bootstrap with deploy.dev.yml file?
0 -
I bootstrap a deploy.stage.yml on the server, only difference to my dev.yml is endpoints, debug, and mount option (baked on stage).
Locally I required spryker-middleware/process and developed a feature, when i deploy on server and bootstrap again and docker/sdk up, Spryker installation fails when generating propel models.0 -
baked
means the codebase is backed into docker image, so you cannot expect file you changed on your host appears there.You can run docker/sdk up again and the changes will appear. It would take a few minutes.
Or you can switch to
native
ordocker-sync
(depends on platform you use) to have possibility to see changes on-fly0 -
If your changes are not often and do not performed in vendor folder you can use
backed
mode. The only downside is the delay to see the changes (and running additional command). For me it is about 2 minutes to see.0 -
I understand what baked does but I cannot rebuild th container without the above error occuring
0 -
What exactly error do you have?
0 -
Also please list
.dockerignore
0
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