aboutsummaryrefslogtreecommitdiff
path: root/share/drupal8/Makefile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-27 22:22:14 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-10-27 22:22:14 -0200
commitb0208a9fdde63e7ff1bbf5de69a2d6dcee863cc5 (patch)
treea2a70d48c8af8a0d714ad4ed0b7301731430c839 /share/drupal8/Makefile
parentfd89cae29180a6a28e6e55b51ce89e70ea3a4984 (diff)
downloadtemplater-b0208a9fdde63e7ff1bbf5de69a2d6dcee863cc5.tar.gz
templater-b0208a9fdde63e7ff1bbf5de69a2d6dcee863cc5.tar.bz2
Drupal 8 config files
Diffstat (limited to 'share/drupal8/Makefile')
-rw-r--r--share/drupal8/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/share/drupal8/Makefile b/share/drupal8/Makefile
index dec93d3..3b005a9 100644
--- a/share/drupal8/Makefile
+++ b/share/drupal8/Makefile
@@ -8,7 +8,8 @@ PROJECT = drupal
ENV = dev
DATE = $(shell date +%Y%m%d)
CWD = $(shell pwd)
-DESTDIR ?= vendor
+#DESTDIR ?= vendor
+DESTDIR ?= /var/www/data
DRUPAL = $(DESTDIR)/drupal-$(CORE)
DRUSH = drush -r $(DRUPAL) -l $(PROJECT)
@@ -18,9 +19,10 @@ production: submodules post_receive drush settings ownership
# Setup a development environment
#develop: submodules vagrant
develop: submodules kvmx
- rm -rf $(DRUPAL)/sites/default
- ln -s $(PROJECT) $(DRUPAL)/sites/default
- vagrant ssh -c "$(DRUSH) pm-enable devel -y"
+ #rm -rf $(DRUPAL)/sites/default
+ #ln -s $(PROJECT) $(DRUPAL)/sites/default
+ #vagrant ssh -c "$(DRUSH) pm-enable devel -y"
+ kvmx ssh "$(DRUSH) pm-enable devel -y"
# Install the platform
platform: drupal drush settings symlinks initdb cache
@@ -40,6 +42,7 @@ vagrant:
# Setup the virtual machine using kvmx
kvmx:
kvmx up
+ kvmx provision
# Download drupal, setup folder structure and config file
#
@@ -49,7 +52,7 @@ drupal:
#rm -rf $(DESTDIR)/drupal-$(CORE)* && drush pm-download -y -v drupal-$(CORE) --destination=/tmp/drupal && mv /tmp/drupal/drupal-$(CORE).* $(DESTDIR)/
#drush pm-download -y -v drupal-$(CORE) --destination=$(DESTDIR)
#( cd $(DRUPAL)/.. && ln -s drupal-$(CORE).* drupal-$(CORE) )
- BASE=$(DESTDIR) drupal download 8
+ BASE=$(DESTDIR) drupal download $(CORE)
# Make the needed symlinks
symlinks:
@@ -144,7 +147,7 @@ upgrade-modules:
# Upgrade drupal
upgrade-drupal:
- BASE=$(DESTDIR) drupal upgrade $(OLD) $(NEW)
+ BASE=$(DESTDIR) drupal upgrade $(CORE)
# Configure update hook on remote host
post_receive: