From fb99a1d4e8ce2ba69f9c15772ba5bd5cdf09d853 Mon Sep 17 00:00:00 2001 From: Jaap Jansma <jaapjansma@users.noreply.github.com> Date: Tue, 13 Feb 2018 11:19:22 +0100 Subject: [PATCH] Update buildkit.md Added documentation on Michael McAndrews docker container. --- docs/tools/buildkit.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/docs/tools/buildkit.md b/docs/tools/buildkit.md index 35f978d7..adfcb56b 100644 --- a/docs/tools/buildkit.md +++ b/docs/tools/buildkit.md @@ -34,9 +34,40 @@ After running the above command, then proceed to the [post-installation configur If you have [Docker](https://www.docker.com/) running, you can use one of the following projects to run buildkit within a Docker container: +* <https://github.com/michaelmcandrew/civicrm-buildkit-docker> * <https://github.com/progressivetech/docker-civicrm-buildkit> * <https://github.com/ErichBSchulz/dcbk> +!!! Note + + There different version of Buildkit on Docker. Michael McAndrews seems to be the easiest to get started with. + +#### Install buildkit on docker on ubuntu + +Follow the official installation instructions from https://docs.docker.com/compose/install/ to install docker compose on your linux machine. + +```bash +git clone https://github.com/michaelmcandrew/civicrm-buildkit-docker.git +cd civicrm-buildkit-docker +sudo docker-compose up -d +``` + +Now you are ready to go. + +To create a new site with buildkit run the following command: + +```bash +docker-compose exec -u buildkit civicrm civibuild create dmaster --url http://localhost:8080 +``` + +Alternative you can login into the conatiner and run the commands from there: + +```bash +docker-compose exec -u buildkit civicrm bash +``` + +More information is in the Readme: https://github.com/michaelmcandrew/civicrm-buildkit-docker/blob/master/README.md + ### Other platforms -- GitLab