-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
COPY settings.php /var/www #41
Comments
As we use a separate mariadb container, a fresh test won't have a database installed. In other words, if we put settings.php in the proper place, it won't be functional because the database still has to be imported. My thinking was that by keeping it out it was more obvious that you have to do something (a drush site-install or database import) if you want a test site. What do you think? Is there a better way to make that clear? |
@deviantintegral Thank you for taking the time & replying through some of my questions, much appreciate you sharing the thought process behind some of the decisions. I think what we are saying here is 2 things really:
I think it might be worth doing this in Robo..
|
In Dockerfile: https://github.com/deviantintegral/drupal_tests/blob/master/Dockerfile#L62
We move the settings to outside the HTML folder, is this intentional?
I found some code in test-js.sh
https://github.com/deviantintegral/drupal_tests/blob/master/hooks/test-js.sh#L30
its doing:
I havent looked too deeply but why not move the settings.php to the correct place to begin with:
and remove this step in test-js.sh
https://github.com/deviantintegral/drupal_tests/blob/master/hooks/test-js.sh#L30
The text was updated successfully, but these errors were encountered: