Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.

Create drupal8 hiera platform, deploy script #184

Closed
ohthehugemanatee opened this issue Mar 28, 2016 · 3 comments
Closed

Create drupal8 hiera platform, deploy script #184

ohthehugemanatee opened this issue Mar 28, 2016 · 3 comments

Comments

@ohthehugemanatee
Copy link

Drupal 8 has some different requirements, and a different deploy process. This should be a hiera/yeoman option for platform=drupal8. Off the top of my head:

  • Merge in drupal-composer, simlink vendor/bin/drupal and vendor/bin/drush to /usr/local/bin
  • Use /vagrant/web as the docroot (we could symlink, but that confuses PHPStorm into thinking there are two resource roots... and probably other IDEs too)
  • Solr 5.x (or maybe 4.x, depends on the status of search_api_solr in 8)
  • PHP 5.6 (I understand 7.x doesn't have great contrib support, but we should ask @heddn )
  • Different varnish vcl
  • Gesso version, status, and requirements are all a bit different.
  • Different build, install, CI prep process. ("composer install && drush si --profile=mysite") This is mostly taken care of by depending on drupal-composer, but we'll need a drupal8.rb for our capistrano steps.
@heddn
Copy link

heddn commented Mar 28, 2016

Based on https://www.drupal.org/node/2607222, PHP 7 is a fine platform to use as a default. I've been using it a while on D8 and haven't run into any notable issues.

@wwhurley
Copy link
Contributor

Why would we be changing the docroot to web?

@ohthehugemanatee
Copy link
Author

because that's the docroot for drupal-composer - see their issue on the subject. "web" is the normal web root for Symfony apps, including the Symfony Standard, which is why drupal-composer uses it.

If we want to stick with public, the alternatives are:

  • Symlink public to web, and configure phpstorm et al to ignore one of the roots.
  • Change the webroot we get from drupal-composer. That requires changes in composer.json (several locations), .gitignore (several locations), and post-install.sh (only DOCROOT variable at top of the script).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants