rchehd/dockerize-drupal-vue3

快速启动无头Drupal和VueJS 3的项目模板。

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

This package is auto-updated.

Last update: 2024-09-29 06:25:57 UTC


README

VueJS Logo Docker Logo Drupal Logo

将Drupal和VueJS 3 Docker化

基于 nicer00ster/dockerize-drupal-vue

更新

  • VueJs从2更新到3
  • 添加Vue路由以创建多页面应用程序
  • 将Node从12更新到16

安装

首次以开发模式启动整个应用程序
在继续之前,请确保安装最新版本的Docker和Python 3.5或更高版本

$ 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

后端url: http://drupal.docker.localhost/
前端url: http://app.docker.localhost/