cividesk/civicrm 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cividesk/civicrm

Composer 安装命令:

composer require cividesk/civicrm

包简介

CiviCRM platform for Cividesk.

README 文档

README

Getting started

Drupal 9: with composer

composer require cividesk/civicrm:5.75.x-dev

You can even then remove the `civicrm/civicrm-core`, `civicrm/civicrm-drupal-8andcivicrm/civicrm-packageslines from yourcomposer.jsonfile as these dependencies are already included incividesk/civicrm-patches`.

Drupal 7 / WordPress: in Dockerfile from container

ARG BRANCH=5.75
FROM ${BUILD_REGISTRY}cividesk/civicrm:${BRANCH} AS civicrm
FROM (your base container)
COPY --chown=www-data:www-data --from=civicrm civicrm (target path for civicrm)
COPY --chown=www-data:www-data --from=civicrm civicrm-extend (target path for civicrm-extend)

Add new patches to the build

If the patch is available in a gitlab repository:

  • [ ] download the patch in the patches folder (use the same name as the commit id)
    • the easiest way to download a patch file is to add `.patch` to the end of the URL for the corresponding PR.
    • use the same name as the commit id for the patch file

If you need to create patch an existing filei (ie. CRM/Report/Form.php):

cd {civicrm_root}
cp {file}.php {file}.php.ori
vi {file}.php
diff -Naur {file}.php.ori {file}.php > {patches_dir}/my-new-patch.patch

Then:

  • [ ] edit the `patches/README.md` file to add a comment and instructions about your patch
  • [ ] run `make` and check that all patches apply correctly
  • [ ] run `make release && git status`
  • [ ] check that all looks good (the composer.json should have changed)
  • [ ] commit and push all your changes

统计信息

  • 总下载量: 2.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2022-07-10