Giter Site home page Giter Site logo

drupal8-vagrant's Introduction

Drupal 8 Sprint Box CircleCI

Simple Vagrant config to download and install the latest dev version of Drupal 8.

Requirements

Installation

  1. Open terminal (or git bash for windows users) and run the following commands --
composer create-project thom8/drupal8-vagrant some-dir && cd $_
vagrant up
  1. Go to http://d8.local/
username: admin
password: admin
  1. Enjoy.

Variants

Drupal 7.

composer create-project -n thom8/drupal8-vagrant:dev-d7 some-dir && cd $_ && vagrant up

Backdrop.

composer create-project -n thom8/drupal8-vagrant:dev-backdrop some-dir && cd $_ && vagrant up

More info

This is an implementation of Beetbox so please refer to this project for more info.

drupal8-vagrant's People

Contributors

thom8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

drupal8-vagrant's Issues

unable to vagrant up with D8 & PHP7.0

Hi Thom,

i've tried to vagrant up using the instructions on the front page, however i've received the following error in my console:

==> beetbox: TASK [geerlingguy.php-mysql : Install PHP MySQL dependencies (Debian).] ********
==> beetbox: fatal: [localhost]: FAILED! => {"cache_update_time": 1496485433,
	"cache_updated": false,
	"changed": false,
	"failed": true,
	"msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'php7.0-mysql'' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)",
	"stderr": "E: Sub-process /usr/bin/dpkg returned an error code (1)",
	"stderr_lines": ["E: Sub-process /usr/bin/dpkg returned an error code (1)"],
	"stdout": "Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  php7.0-mysql
0 upgraded,
	1 newly installed,
	0 to remove and 92 not upgraded.
Need to get 124 kB of archives.
After this operation,
	485 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0-mysql amd64 7.0.19-1+deb.sury.org~xenial+2 [124 kB]
Fetched 124 kB in 2s (55.5 kB/s)
Selecting previously unselected package php7.0-mysql.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 76162 files and directories currently installed.)
Preparing to unpack .../php7.0-mysql_7.0.19-1+deb.sury.org~xenial+2_amd64.deb ...
Unpacking php7.0-mysql (7.0.19-1+deb.sury.org~xenial+2) ...
Processing triggers for libapache2-mod-php7.0 (7.0.19-1+deb.sury.org~xenial+2) ...
Processing triggers for php7.0-fpm (7.0.19-1+deb.sury.org~xenial+2) ...
Job for php7.0-fpm.service failed because the control process exited with error code. See \"systemctl status php7.0-fpm.service\" and \"journalctl -xe\" for details.
invoke-rc.d: initscript php7.0-fpm,
	action \"restart\" failed.
dpkg: error processing package php7.0-fpm (--unpack):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 php7.0-fpm

==> beetbox: 
==> beetbox: RUNNING HANDLER [geerlingguy.apache : restart apache] **************************
==> beetbox: 
==> beetbox: RUNNING HANDLER [geerlingguy.php : restart webserver] **************************
==> beetbox: 
==> beetbox: RUNNING HANDLER [geerlingguy.php : restart php-fpm] ****************************
==> beetbox: 
==> beetbox: PLAY RECAP *********************************************************************
==> beetbox: localhost                  : ok=121  changed=12   unreachable=0    failed=1   

I've SSH'd onto the box and tried to execute the systemctl commands myself, but then the process still fails after that.

I also had to modify my composer.json file to:

"require-dev": {
        "beet/box": "dev-master"
    },

as the 0.6.0 version was causing php 7 fpm install & restart service issues.

any help would be much appreciated. My next step would be to revert back through commits until i find one that works. I'm hoping i'm not the only one having these issues....?

vagrant: 1.9.5
virtualbox: 5.1.22 r115126 (Qt5.6.2)
composer 1.4.2
vagrant-hostsupdater (1.0.2)

Dependencies.io troubleshooting

We're opening this issue to inform you about problems with your dependencies.io configuration or build failures.

We'll add a comment here when we see problems. You can close this issue when
you have things resolved -- we'll open it back up if we detect new problems.

Helpful links:

Note: To help keep your repo as clean as possible, this is the only issue
that we're going to open and comment on. Feel free to delete the comments
that are made as you resolve them, if you want to keep this issue short and tidy.

mysql un/pwd

Hi there,

Everything works perfectly and I'd love to share this with my team without modifications. Can you tell me the mysql creds? I tried all the usual suspects and none seemed to work.

thanks!

New DrupalConsole installer instructions.

@thom8: Since latest changes on the site and the project the instructions for setting up Drupal Console, have changed I just copied instructions on the home page at http://www.drupalconsole.com :

# Run this in your terminal to get the latest Console version:
curl http://drupalconsole.com/installer -L -o drupal.phar

# Or if you don't have curl:
php -r "readfile('http://drupalconsole.com/installer');" > drupal.phar

# Accessing from anywhere on your system:
mv drupal.phar /usr/local/bin/drupal

# Copy configuration files to user home directory:
drupal init [--override]

Error during "Install Drupal with drush"

Console output:

fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/usr/local/bin/drush", "site-install", "standard", "-y", "--site-name=Drupal 8 Sprint Box", "--account-name=admin", "--account-pass=admin", "--db-url=mysql://beetbox:beetbox@localhost/beetbox"], "delta": "0:00:00.308439", "end": "2017-08-01 11:43:26.944201", "failed": true, "rc": 255, "start": "2017-08-01 11:43:26.635762", "stderr": "PHP Fatal error: Declaration of Drush\\Command\\DrushInputAdapter::hasParameterOption() must be compatible with Symfony\\Component\\Console\\Input\\InputInterface::hasParameterOption($values, $onlyParams = false) in /usr/local/share/drush/lib/Drush/Command/DrushInputAdapter.php on line 27\nPHP Stack trace:\nPHP 1. {main}() /usr/local/share/drush/drush.php:0\nPHP 2. drush_main() /usr/local/share/drush/drush.php:12\nPHP 3. Drush\\Boot\\BaseBoot->bootstrap_and_dispatch() /usr/local/share/drush/includes/preflight.inc:66\nPHP 4. drush_dispatch() /usr/local/share/drush/lib/Drush/Boot/BaseBoot.php:67\nPHP 5. call_user_func_array:{/usr/local/share/drush/includes/command.inc:199}() /usr/local/share/drush/includes/command.inc:199\nPHP 6. drush_command() /usr/local/share/drush/includes/command.inc:199\nPHP 7. _drush_invoke_hooks() /usr/local/share/drush/includes/command.inc:231\nPHP 8. spl_autoload_call() /usr/local/share/drush/includes/command.inc:353\nPHP 9. Composer\\Autoload\\ClassLoader->loadClass() /usr/local/share/drush/includes/command.inc:353\nPHP 10. Composer\\Autoload\\includeFile() /usr/local/share/drush/vendor/composer/ClassLoader.php:322\nPHP 11. include() /usr/local/share/drush/vendor/composer/ClassLoader.php:444\nDrush command terminated abnormally due to an unrecoverable error. [error]\nError: Declaration of\nDrush\\Command\\DrushInputAdapter::hasParameterOption() must be\ncompatible with\nSymfony\\Component\\Console\\Input\\InputInterface::hasParameterOption($values,\n$onlyParams = false) in\n/usr/local/share/drush/lib/Drush/Command/DrushInputAdapter.php, line\n27", "stdout": "\nFatal error: Declaration of Drush\\Command\\DrushInputAdapter::hasParameterOption() must be compatible with Symfony\\Component\\Console\\Input\\InputInterface::hasParameterOption($values, $onlyParams = false) in /usr/local/share/drush/lib/Drush/Command/DrushInputAdapter.php on line 27\n\nCall Stack:\n 0.0001 223424 1. {main}() /usr/local/share/drush/drush.php:0\n 0.0008 397872 2. drush_main() /usr/local/share/drush/drush.php:12\n 0.1602 11023816 3. Drush\\Boot\\BaseBoot->bootstrap_and_dispatch() /usr/local/share/drush/includes/preflight.inc:66\n 0.1831 10308656 4. drush_dispatch() /usr/local/share/drush/lib/Drush/Boot/BaseBoot.php:67\n 0.2484 12971192 5. call_user_func_array:{/usr/local/share/drush/includes/command.inc:199}() /usr/local/share/drush/includes/command.inc:199\n 0.2484 12971712 6. drush_command() /usr/local/share/drush/includes/command.inc:199\n 0.2486 12977184 7. _drush_invoke_hooks() /usr/local/share/drush/includes/command.inc:231\n 0.2487 12982104 8. spl_autoload_call() /usr/local/share/drush/includes/command.inc:353\n 0.2488 12982536 9. Composer\\Autoload\\ClassLoader->loadClass() /usr/local/share/drush/includes/command.inc:353\n 0.2488 12982688 10. Composer\\Autoload\\includeFile() /usr/local/share/drush/vendor/composer/ClassLoader.php:322\n 0.2490 13008592 11. include('/usr/local/share/drush/lib/Drush/Command/DrushInputAdapter.php') /usr/local/share/drush/vendor/composer/ClassLoader.php:444", "stdout_lines": ["", "Fatal error: Declaration of Drush\\Command\\DrushInputAdapter::hasParameterOption() must be compatible with Symfony\\Component\\Console\\Input\\InputInterface::hasParameterOption($values, $onlyParams = false) in /usr/local/share/drush/lib/Drush/Command/DrushInputAdapter.php on line 27", "", "Call Stack:", " 0.0001 223424 1. {main}() /usr/local/share/drush/drush.php:0", " 0.0008 397872 2. drush_main() /usr/local/share/drush/drush.php:12", " 0.1602 11023816 3. Drush\\Boot\\BaseBoot->bootstrap_and_dispatch() /usr/local/share/drush/includes/preflight.inc:66", " 0.1831 10308656 4. drush_dispatch() /usr/local/share/drush/lib/Drush/Boot/BaseBoot.php:67", " 0.2484 12971192 5. call_user_func_array:{/usr/local/share/drush/includes/command.inc:199}() /usr/local/share/drush/includes/command.inc:199", " 0.2484 12971712 6. drush_command() /usr/local/share/drush/includes/command.inc:199", " 0.2486 12977184 7. _drush_invoke_hooks() /usr/local/share/drush/includes/command.inc:231", " 0.2487 12982104 8. spl_autoload_call() /usr/local/share/drush/includes/command.inc:353", " 0.2488 12982536 9. Composer\\Autoload\\ClassLoader->loadClass() /usr/local/share/drush/includes/command.inc:353", " 0.2488 12982688 10. Composer\\Autoload\\includeFile() /usr/local/share/drush/vendor/composer/ClassLoader.php:322", " 0.2490 13008592 11. include('/usr/local/share/drush/lib/Drush/Command/DrushInputAdapter.php') /usr/local/share/drush/vendor/composer/ClassLoader.php:444"], "warnings": []}

Drupal version: 8.4.0-dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.