Closed (fixed)
Project:
Vagrant Drupal Development
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2014 at 21:26 UTC
Updated:
19 May 2014 at 12:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ericrdb commentedCorrect. The current feature set provided by vdd does not automatically install Drupal. The vdd web landing page has how-to instructions.
I like the idea of vdd automatically installing Drupal for each site listed. I'll see if I can come up with something for that.
The message regarding the difference in guest additions is because you probably downloaded the most recent Virtualbox (4.3.6) and the guest additions currently included in the vagrant box is 4.2. So, Virtualbox is complaining that the software versions don't match. Shouldn't be an issue, at least it hasn't been for me yet.
Cheers
Comment #2
ericrdb commentedOk, this patch will automatically install Drupal sites listed in the config.json, provided that they're Drupal 7 sites.
Current stable Drush 6.20 doesn't install Drupal 8 sites. And, there's some issue with problems installing drupal 6: #2136667: problems installing drupal 6.
Cheers
Comment #3
ericrdb commentedOk, this patch will automatically install D6 sites properly as well as D7 sites.
We can auto-install D8 sites once drush-master is available in the vagrant box by default.
Cheers
Comment #4
danylevskyiFrankly speaking I do not think that automatic installation of sites is a good idea. Commonly developer doesn't want to install it automatically. Also we making JSON configuration more tricky. And how user will maintain versions?
Comment #5
jamesrward commentedJust wanted to voice my support for @danylevskyi's position. I'd much rather manually install or copy in my codebase after the vm is up. We can take steps to smooth this process but lets not make it automatic.
I do however agree with @lsolesen that the initial impression is a little confusing. Let's work on making the landing page instructions more clear and directly related to sites configured in the config.json instead. It shouldn't suggest instructions for the installation of a site not in the config.json. I'll start working on a patch to do that right away.
Comment #6
ericrdb commented@jamesrward: I threw this together to for an initial pass on improved documentation. Love feedback or if you want to make additional changes. Thanks!
Comment #7
jamesrward commented@ericrdb Thanks for putting that together. I had something similar setup that was going through all the sites declared in the config.json and putting up Drupal6 Drupal7 and Drupal8 install instructions for each site but it got pretty long. I still think it is best to have too much information on this page rather than not enough but I defer to your judgement on that.
Unfortunately this patch completely broke my instructions and the ones you posted here. The use of a /public site sub-directory renders these drush dl instructions useless. I'm working on a more robust way to parse the document_root to make the instructions compatible with this latest patch.
Comment #8
ericrdb commentedGood point - there's additional complexity now that users can define their own document root. I like your thinking that we should have intelligent instructions to accommodate those declarations.
What's your thinking about ideal install instructions?
Comment #9
jamesrward commentedThat's exactly what I have in mind.
I was contemplating a bash script in the root dir instead but I think we want to keep these actions transparent so users can adjust them to suite their needs. For example I am dropping in a drush make file instead of using drush dl and it would be tough to know how to do that if I didn't see the drush commands used to install the site.
Comment #10
ericrdb commentedOk, I adjusted the webpage documentation to handle the use case we're discussing: it should show the right paths, regardless of how many users put in their docroot_path or if they even declare a vhost at all.
Also, I noticed that we need to adjust the 'root' value for drush_aliases too, so I included that here.
How's this land? Other items we should include or exclude? Thanks!
Comment #11
danylevskyiGreat work! Committed, thanks!
Comment #13
danylevskyi