If you want to have simple and quick drupal 8 with just mysql installation with docker and not running docker compose you need to build 2 containers. One for mysql and other for drupal. First build mysql as we are going to link that to drupal one.
If you want to have simple and quick drupal 8 with just mysql installation with docker and not running docker compose you need to build 2 containers. One for mysql and other for drupal. First build mysql as we are going to link that to drupal one.
So lets fix this really not intuitive UX for drupal console and how to install it.
So what you need to do as of 2018 is to have drupal console installed per project, so we will use composer to do that, lets write
If you have a problem where you have LEMP Stack (Nginx instead of apache) and you get 404 on all pages but front you probably need to change one line in your "/sites-enabled/your-iste" file. So lets open this nginx file that defines virtual block and change the part under "location" directive from
If you are having problems with installing composer on your dedicated server try it like this
sudo curl -s https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
also check if you have openssl enabled as extension in your php.ini (this depends on php version)
This is old problem for mostly drupal newbies but I see its not explained properly what should be best practice.
So to do this properly you should
I wont get into how to make custom tokens in drupal 8, look here for that info
https://stefvanlooveren.me/blog/how-create-custom-image-token-drupal-8
Originally you would just put some kind of value like this and have it as plain string
In drupal 8 for logging we use logger service, to log array data in some readable format, you should use little hack like in drupal 7 adding html code and print_r to array.
For this to understand you will need to already have installed and running PhantomJS, how to do that please read here.
https://github.com/Gizra/KnowledgeBase/wiki/Behat-phantomJs-install
With that you will need to run it, open your terminal and write this to make it start
With drush driver for behat you will have some more power, basically drush power to do things. So to make out first drush test, you will need to bring some change in behat.yml file and change some lines.
This just another simple test for behat and mink combo with plain blackbox driver. To log in to a site and do check some behavior you can write this simple test, again no PHP needed for it. You will be logged in and checking what is on people admin page. Add it to your some.feature file and run behat.