Replies: 6 comments 7 replies
-
Ideally there would be two ways to start an environment: one with an existing user-supplied database and one that starts a fresh install. For the fresh install this should use If nothing else we could write a script like |
Beta Was this translation helpful? Give feedback.
-
I think the install should be manual |
Beta Was this translation helpful? Give feedback.
-
Note to myself ... test hooks https://github.com/drud/ddev-contrib/tree/master/hook-examples/import-db-if-empty |
Beta Was this translation helpful? Give feedback.
-
The goal is for the test environment to be created quickly in a few simple, easy-to-remember steps (
If we agree on these solutions, we could propose PR's in the DDEV project. I am sure it could be solved by adding commands directly in DDEV or modifying the stages in the case of OpenMage, but I can't express my opinion because I don't know the Go programming language. What I showed above as possible solutions were identified by me after reading the documentation. |
Beta Was this translation helpful? Give feedback.
-
This issue is solved in the following PRs #3256 and #3248. There is no need to change the DDEV default behavior. Unfortunately, the fist one more needs one more approval to be integrated. |
Beta Was this translation helpful? Give feedback.
-
Thank you all for your feedback. This PR solved the issue #3256. |
Beta Was this translation helpful? Give feedback.
-
DDEV is definitely a real, fast and efficient solution for anyone who wants to create a test/development environment based on Docker and PHPStorm. In Windows, WSL2 must be used, but for better performance, I recommend using a Linux distribution. Even in an Ubuntu 22.04 installed in a VM everything runs faster than in Windows 10 Pro + WSL.
I recently discovered an issue in DDEV and I reported it here ddev/ddev#4259. In short, when the
ddev start
command is run, if there is no /app/etc/local.xml file, DDEV will create one, but this will immediately cause a problem. The Backend is inaccessible because there is no admin account that is created during the installation process of OpenMage. I have identified two solutions, but there may be others (I am not an expert in Docker/DDEV).If these two solutions are the only ones that solve the problem, then we should choose the first one, DDEV should not create the /app/etc/local.xml file. The author of DDEV agrees with the amendment proposed by me, but he wants to know the opinion of other people in the community. Therefore, please express your opinion in the survey below.
3 votes ·
Beta Was this translation helpful? Give feedback.
All reactions