rchehd/dockerize-drupal-vue3

Project template for quick start with headless Drupal and VueJS 3.

v1.2 2022-10-31 11:11 UTC

This package is auto-updated.

Last update: 2025-05-29 01:56:42 UTC


README

VueJS Logo Docker Logo Drupal Logo

Dockerizing Drupal && VueJS 3

Based on nicer00ster/dockerize-drupal-vue

Updates

  • VueJs updated from 2 to 3
  • Added Vue router to create multipages application
  • Update Node from 12 to 16

Installation

To spin up the whole application for the first time in dev mode:
Make sure to install the latest version of Docker and Python 3.5 or greater before continuing

$ git clone https://github.com/rchehd/dockerize-drupal-vue3.git
$ cd dockerize-drupal-vue3
$ copy .env.default to .env
$ set project name in .end PROJECT_NAME=your_project_name
# 
# Install all the docker containers:
$ make install
#  if you get error change owner of drupal directory "sudo chmod -R 777 drupal"
#
# To destroy all containers and data associated:
$ make down
#
# To pause the containers:
$ make stop
#
# To bring the containers back up: 
$ make up

Backend url: http://drupal.docker.localhost/
Frontend url: http://app.docker.localhost/