Training day on Composer basics

Posted on: Thu, 21/06/2018 - 11:15 By: sacha

I use composer all the time, but never really known what Im doing, just copy pasting commands.  Today Daniel has been explaining what Composer is, and how it is used. Quite clear morning session, very helpful to start to gain an understanding.

Created empty php project (using ddev).  ssh into it.

Libraries usually found through packagist.org or GitHub.

How can I do a db dump from my machine?

Posted on: Wed, 20/06/2018 - 12:11 By: sacha

When Im moving around from machine to machine, setting up new drupalvm environments, or simple setting up once again after a series of failures, I need to remember to do a database extract, create a db dump file, to not loose any work that may be in that more up to date database.

How can I do that in vagrant/drupalvm?

The answer is to do an sql dump from inside the vagrant VM, which goes like this:

 

Local drupal site set up on new machine - drupalvm - ddev - drush

Posted on: Thu, 14/06/2018 - 15:05 By: sacha

On my new clean machine I've set up my work site's local dev environment today, using vagrant and drupalvm. Two small stumbling blocks where ansible failing to complete successfully -

PLAY RECAP *********************************************************************
vm : ok=85 changed=46 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Theming this blog: sub-theme of sub-theme headache

Posted on: Tue, 12/06/2018 - 13:51 By: sacha

Nothing is ever straight forward.  On this site I Installed a simple, clean blog theme, a sub-theme for bootstrap theme, called Clean Blog, which I liked.  Wanted to sub-theme the sub-theme, to then work on and personalise it.  However, though I followed the Drupal.org guidance for creating a Drupal 8 sub-theme, or sub-theme of sub-theme, and queried our slack area #support channel, it only fell apart more.

Second project to do

Posted on: Thu, 07/06/2018 - 07:45 By: sacha

A second project to do is the migration of my work Drupal 7 forum to a new Drupal 8 version.  It's a long time coming. To include:

  • Forum, with import of all data from Drupal 7 version
  • Mobile friendly chat functionality.
  • New design

 

Doodle Day Site Project

Posted on: Wed, 06/06/2018 - 08:21 By: sacha

For my main apprenticeship project I will be creating a new 'microsite' within my work's main website.

The site is for 'National Doodle Day', a fundraising event held by Epilepsy Action, to raise money for the charity and support people with epilepsy.

The site has to date been a separate Wordpress site.  The objective is to bring the site into our main epilepsy.org.uk Drupal site.

Subscribe to