Skip to content

Instantly share code, notes, and snippets.

@tiotsop01
Last active August 12, 2018 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiotsop01/11c506e9bc60648e2f3eaae71916d00b to your computer and use it in GitHub Desktop.
Save tiotsop01/11c506e9bc60648e2f3eaae71916d00b to your computer and use it in GitHub Desktop.
Google Summer of Code 2018 Final Submission Report.

Making CiviCRM Cloud Native and Docker Friendly

The objective of this GSoC'18 project was to make civiCRM compliant to the methodology outlined by The Twelve Factor App documentation for building software-as-a-service apps.

Objectives Attained

CiviCRM is now suitable for deployment on modern cloud platforms, obviating the need for servers and systems administration

CiviCRM now minimize divergence between development and production, enabling continuous deployment for maximum agility

Issues and Pull Requests

This section summarizes the work done during the 3 months of Google Summer of Code 2018.

A. Determine CiviCRM host and port in Docker-friendly way - via an environment variable (Reference Issues: #12 and #6). PR

B. Move the cache for CRM_Extension_Browser out of the filesystem and use a SqlGroup instead(Reference Issue: #2 and #17). PR

C. Soften messages for read-only extensionsDir(Reference Issue: #2 and #18). PR

Applying the Patch

These steps will enable you to tests and review the changes

git clone https://github.com/tiotsop01/civicrm-buildkit-docker
cd civicrm-buildkit-docker
git checkout tiotsop
docker-compose -p baseurlenvar down -v
docker-compose -p baseurlenvar up -d
docker-compose -p baseurlenvar exec -u buildkit civicrm git config --global user.name Test
docker-compose -p baseurlenvar exec -u buildkit civicrm git config --global user.email test@example.com
docker-compose -p baseurlenvar exec -u buildkit civicrm civibuild create dmaster --patch https://pr_to_apply

Authors

  • Tiotsop Gerest - GSoC 2018 Contributor
  • Michael McAndrew - GSoC 2018 Mentor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment