Created
October 5, 2018 01:43
-
-
Save matthewpoer/d2efc395b31728752deaa9922edcb085 to your computer and use it in GitHub Desktop.
example SugarCRM/SuiteCRM .gitignore file for tracking the CRM as a whole application (vs. developing code as a Sugar plugin)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# assumes a top-level dir. structure like to: | |
# /. | |
# /.git/ (git is up here so all of the below are tracked) | |
# /.gitignore (this file) | |
# /crm/ (holds the Sugar/Suite application files) | |
# /db/ (holds database backups, or at least fields_meta_data and config and similar) | |
# /scripts/ (holds helper scripts for automated backups of database, quick repair, etc.) | |
# Ignore cache, but make sure it exists | |
crm/cache/* | |
!crm/cache/index.html | |
# Ignore derived files and junk from the custom directory | |
crm/custom/application/Ext | |
crm/custom/backup | |
crm/custom/history | |
crm/custom/modules/*/Ext | |
crm/custom/modules/*/workflow | |
crm/custom/modulebuilder | |
crm/custom/workflow | |
crm/custom/working | |
# Ignore logs | |
/crm/sugarcrm*log | |
/crm/install*log | |
/crm/shadow_upgrade.log | |
# Ignore uploaded files, except the placeholder and modules installed from Module Loader | |
crm/upload/* | |
!crm/upload/index.html | |
!crm/upload/upgrades/ | |
crm/upload/upgrades/* | |
!crm/upload/upgrades/module | |
# avoid locally created .vagrant dir (but we will track the Vagrantfile) | |
.vagrant |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment