You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
databaseRefreshDdev() must be run from outside ddev since we currently use the DDEVdb-import command to handle the import. robo dev:refresh also uses this method so currently we are forced to run this from outside the container which means dependencies like PHP must be installed locally.
Proposed Solution
Refactor databaseRefreshDdev() to be able to run from inside the ddev container.
I just wanted to note that I run my db refreshes from within Lando all the time by 1) making sure the Lando appserver image has the AWS cli installed and 2) configurating AWS environment variables in .lando/env (and setting the environment key in the Lando config to use that file).
@apotek I am not sure I follow. What is the next step to refresh the db this way? How do you trigger it?
Side note: I should probably rename this issue to refer to DDEV, but I didn't want to cause any confusion so I held off for now.
apotek
changed the title
Update databaseRefreshLando() to be able to be run from within the lando container
Update databaseRefreshDdev() to be able to be run from within the lando container
Jul 18, 2024
apotek
changed the title
Update databaseRefreshDdev() to be able to be run from within the lando container
Update databaseRefreshDdev() to be able to be run from within the local dev container
Sep 12, 2024
Description
databaseRefreshDdev()
must be run from outside ddev since we currently use the DDEVdb-import
command to handle the import.robo dev:refresh
also uses this method so currently we are forced to run this from outside the container which means dependencies like PHP must be installed locally.Proposed Solution
Refactor
databaseRefreshDdev()
to be able to run from inside the ddev container.Additional Context
@goranmiric mentioned on a back-end call that he
The text was updated successfully, but these errors were encountered: