-
Notifications
You must be signed in to change notification settings - Fork 186
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
Create Repeatable Local Environment #834
Comments
Is someone working on this one @vermario or @backlineint ? Could try to do something here, we have done similar things as well. Basically have a I think when you a dedicated repo for the starters (and not a monorepo) you can already create as much as the folders as possible, here because the idea (as far as I understand) is to spin up different starters dynamically (and some might need different things depending on the starter being initiated) I would probably follow (somewhat) what was started with the scripts putting the fresh created Drupal instance in a separate folder and running from there. I would still have one single command that spins up both backend and frontend at once both running in ddev |
@joaogarin our solution is thought to then being feasible as a base for a real project, maybe overkill for tests here... so if you have a lighter solution it would be great to see it at work! |
Sure, I was just wondering since the project has multiple starters I think not having a repo per starter makes sense (not sure I might have misunderstood that and no so familiar with wunder's repo) I added what I played with here #840 please do not feel in any way urged to use it 😆 I am just also happy to check other approaches that's always useful. Here is a video of how this works (was not able to upload it here maybe its too big) |
Package
Not package-specific
Describe the feature request
The current Drupal site included in the monorepo isn't sufficient for most local development use cases. It requires a database seed to be truly useful, is based on Umami (which is great for the Umami example, but not all use cases,) and doesn't actually have a local environment configuration like DDEV or Lando.
To support wider contribution, this repository should have an easily repeatable local Drupal environment that can support at least all of our packages and starter kits. In the future, it should also be possible to run end-to-end testing against this local environment.
Describe the solution you'd like
Some initial thoughts on what this would include:
Describe alternatives you've considered
Our current setup uses either a live external site, or a db export of this site. I don't believe this is practical for the common contributor as some form of credentials would have to be shared.
Additional context
I previously did some initial work on this on this branch: https://github.com/chapter-three/next-drupal/tree/local-recipe - feel free to work from that, borrow ideas from it, or completely ignore it.
The text was updated successfully, but these errors were encountered: