| 4 | |
| 5 | == Gitify a project |
| 6 | |
| 7 | The tests and test tools are not in the release package of CiviCRM, so you have to ''gitify'' the code - that is, convert it into a git repository and get the latest version of the code from Git Hub. |
| 8 | |
| 9 | I have had a couple of problems with this: |
| 10 | |
| 11 | 1. The {{{gitify}}} script gives you no options but to use the Master branch. |
| 12 | 1. The {{{gitify}}} script gives you an example that does not work. |
| 13 | 1. Still, some of the tests fail. |
| 14 | |
| 15 | Nevertheless, the procedure to do this is: |
| 16 | |
| 17 | 1. {{{sudo apt-get install git}}} (if it is not already installed) |
| 18 | 1. {{{wget https://github.com/civicrm/civicrm-core/raw/master/bin/gitify}}} |
| 19 | 1. {{{bash gitify git://github.com/civicrm <path to civicrm> --hooks}}}. e.g. {{{bash gitify git://github.com/civicrm /var/www/sites/all/modules/civicrm/ --hooks}}} |
| 20 | |
| 21 | == Set up test database |