跳转到主要内容
你行网

Main navigation

  • 首页
  • Drupal
  • 编程与开发
  • 数据库
  • 操作系统与应用
  • 服务器与运维
  • 社区
User account menu
  • 登录

面包屑

  1. 首页
  2. Drupal 8的全能指南
  3. 多站点Drupal

Drupal 8中的多站点文件夹结构

由 hrs, 22 九月, 2019
标签
drupal

以下是Drupal 8的多站点结构示例。为简单起见,未列出其他Drupal核心文件夹和文件。

多站点结构:

-- core

-- modules
   -- contrib
   -- custom

-- themes
   -- contrib
   -- custom

-- sites
   -- site1
         -- modules
            -- custom
            -- contrib
         -- themes
            -- custom
            -- contrib
         -- files
   -- site2
         -- modules
            -- custom
            -- contrib
         -- themes
            -- custom
            -- contrib
        -- files
   -- site3
         -- modules
            -- custom
            -- contrib
         -- themes
            -- custom
            -- contrib
        -- files

Devops场景:

在多站点环境中,通常每个站点维护者都维护自己的站点代码。在复杂的环境中,前端开发人员还希望独立于常规Drupal部署的生产部署。下面是一个示例,说明如何通过多个存储库分隔Drupal 8多站点文件夹。假定每个站点都有其自己的数据库,并且如下所示共享代码。

.                    ----> Repository1 (common to all the developers)
-- core                                                           

-- modules
   -- contrib
   -- custom

-- themes
   -- contrib
   -- custom           ----> Repository2 (managed by front end developers)

-- sites
   -- site1            ----> Repository3 (managed by site1 developers)
         -- modules
            -- custom
            -- contrib
         -- themes
            -- custom
            -- contrib
         -- files
   -- site2            ----> Repository4 (managed by site2 developers)
         -- modules
            -- custom
            -- contrib
         -- themes
            -- custom
            -- contrib
        -- files
   -- site3            ----> Repository5 (managed by site3 developers)
         -- modules
            -- custom
            -- contrib
         -- themes
            -- custom
            -- contrib
        -- files

 该模型具有以下优点:

1.前端开发人员可以从常规Drupal部署中进行独立部署。

2.每个站点维护者都可以进行独立部署(例如,每个站点维护者可以有自己的发布日期)。

评论

  • 登录或注册以发表评论
  • 85 次浏览

书籍遍历链接: Drupal 8中的多站点文件夹结构

  • 多站点Drupal
  • 向上
  • Drupal 8多站点

最新文章

  • 内容审核通知 content_moderation_notifications 模块简介
  • 调度程序 scheduler 模块简介
  • 工作流当中的草稿,已发布,很好理解,已归档是怎么理解。
  • 你行网 https://www.dwoke.com seo 关键词
  • brew 是什么命令
  • drupal 9 或 drpal 10 国内内容分享模块 Will Nice social share
  • Views Slideshow - Views Vanilla JavaScript Slideshow (VVJS) 简介和安装方法
  • drupal 11 安装statistics 统计模块
  • drupal11 扩展中找不到Statistics模块
  • drupal11 设置中的“总结摘要”和“切边的” 有什么区别

教程节点

  • 概观
  • 系统要求
  • 安装Drupal 8
  • 将Composer添加到现有站点
  • 可信主机设置
  • 更新Drupal 8
  • 管理Drupal 8站点
  • 扩展Drupal 8
  • 贡献的模块
  • 多站点Drupal
    • Drupal 8中的多站点文件夹结构
    • Drupal 8多站点
    • Drupal多站点的用例
    • 多站点Drupal 8注意事项
  • 无障碍

标签云

adsenseAIapacheaptbadblocksbreadcrumbbrewcentoscertbotckeditorcommandcomposercookiecsharpCSScurlC语言DDEVdiffdnsdockerDreamweaverDrupaldrupal 7drupal 8drupal 9drupal10drupal 11drushExcelfirewalldfirmwareflameshotformgimpgitgzipHTMLHTML5httpdhttp验证inputipjavaJavaScriptJavaSrciptkernelKVMLinuxmavenmbstringmod_expires 模块Mysqlnerdtreenetstatnetworknginxnpmpasswordphpphpmyadminphp扩展RFIDRSSselinuxSEOsharesimple_adsensesshsslStatisticssuperfishsurroundtagcloudstitleubuntuuploadprogressvimVPNVUEWireGuardwpsxdebugyoutubeyumzip主题(theme)二进制五笔分类术语压缩解压哈希值声音字段密码工作流快捷键摄影权限果树种植标签优化模块(module)源地址版本号电子秤电脑基础电脑技巧短信验证端口简介算法网站备份网站运营翻译英语表单视图(views)计算机基础赚钱超五类线网线邮件验证重定向重定向,301错误颜色

相关文章

RSS源

关于我们

  • 你行网简介
  • 关于我们
  • 版权声明

网站相关

  • 社区论坛
  • 网址导航
  • 网站地图
  • 联系我们

友情链接

  • 英文学习

友情链接2

  • drupal 大学
  • 水滴间
  • 爱码网
  • Apache

友情链接3

  • MySQL
  • php
  • drupalcode

友情链接4

  • Drupal 中国
  • Drupal 老葛
  • 宁浩网
  • drupal 台湾
Copyright © 2019 - 2021 你行网 版权所有  粤ICP备19072650号-1