README.md 1.17 KB
Newer Older
1 2
#Development workflow

Michael McAndrew's avatar
Michael McAndrew committed
3
All new code, etc. should be developed locally, commited to this repository, tested on www-test.civicrm.org, and the deployed on production.
4 5 6

New configurations (i.e. configuration changes made via the UI etc. can/should be made on www-test.civicrm.org first before being deployed on production.

Michael McAndrew's avatar
Michael McAndrew committed
7
**Note:** you should not make UI configuration changes on test that you want to keep as it is getsover written with / synced from prod from time to time. 
8

9 10 11 12 13 14
#Local development environments

You can develop locally as long as you are not storing any unencrypted personal data in your local development environment.

Drupal and CiviCRM databases can be encrypted on www-test.civicrm.org before being transferred to local development environments.

Michael McAndrew's avatar
Michael McAndrew committed
15
#Upgrades
16

Michael McAndrew's avatar
Michael McAndrew committed
17
Upgrades (especially CiviCRM upgrades) should be tested locally and on the test infrastructure before being carried out on the production server.
18

Michael McAndrew's avatar
Michael McAndrew committed
19 20 21 22 23
Put the site into maintanence mode before upgrading

#CiviCRM customisations

Any CiviCRM customisations should be places in the php and templates directory rather than being directly overwritted in order to make it easy to keep track of customisations through upgrades.