Download the PHP package kgaut/drupal-makefile without Composer
On this page you can find all versions of the php package kgaut/drupal-makefile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kgaut/drupal-makefile
More information about kgaut/drupal-makefile
Files in kgaut/drupal-makefile
Package drupal-makefile
Short Description Generic makefile rules to manage a drupal 8+ project
License GPL-3.0+
Homepage https://github.com/kgaut/makefile
Informations about the package drupal-makefile
Makefile for Drupal
Generic makefile rules to manage a drupal 8+ project
Installation
Edit your .env
file and copy / paste the following vars, do not forget to change values according to your setup :
Edit Makefile
and add just after the line include .env
(or after the line include docker.mk
, depending on your docker4drupal version) :
Mount your local dump folder to /var/db
within your mariadb container.
Sample of mariadb service definition :
Availables rules
db-dump
Create a local database gziped dump.
db-preprod-dump
Create a preproduction database gziped dump.
db-prod-dump
Create a production database gziped dump.
db-prod-import
Empty local database, import the most recent database dump from production, rebuild caches, run database updates, import configuration and provide an authentification url as user 1.
db-preprod-import
Empty local database, import the most recent database dump from preproduction, rebuild caches, run database updates, import configuration and provide an authentification url as user 1.
db-prod-get
Download the most recent database dump from production.
db-preprod-get
Download the most recent database dump from preproduction.
db-import
Empty local database, import the most recent dump available localy, rebuild caches, run database updates, import configuration and provide an authentification url as user 1.
db-post-import
Rebuild caches, run database updates, import configuration and provide an authentification url as user 1.
db-empty
Empty local database.
dd-tail
Tail the drupal-debug.txt files.
watchdog
Tail the watchdog entries.
Note : for this command to works, you'll need to patch drush/drush by adding the following lines to the patches section of your composer file :
For more informations : https://kgaut.net/blog/2016/drupal-8-composer-appliquer-un-patch-dans-le-fichier-composerjson.html
ssh-prod
Open a ssh connexion to production server.
ssh-preprod
Open a ssh connexion to preproduction server.
sapi
Rebuild Search API indexes