Skip to content

Commit

Permalink
Merge pull request #159 from SFDO-Community-Sprints/feature/npc-scrat…
Browse files Browse the repository at this point in the history
…ch-def

Adding NPC scratch org definition and instructions.
  • Loading branch information
allisonletts authored Feb 7, 2024
2 parents 80d6720 + bf933e4 commit ecdcc07
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ $ git clone https://github.com/SFDO-Community-Sprints/Snowfakery-Recipe-Template
- [Set up CumulusCI](https://cumulusci.readthedocs.io/en/latest/get_started.html) : this repository includes a project initialization in cumulusci.yml file. You can skip the project initialization `cci project init`

### Set up the right flavor of scratch org

If you want to use a scratch org to play with Snowfakery recipes in this repository, you may want to install NPSP, EDA, Outbound Funds (OBF), or Program Management Module (PMM) as well.
- For EDA recipes, run `cci org scratch eda eda --default` to create a new scratch org and set it as a default
- **Install EDA** Run `cci flow run eda_scratch --org eda`
Expand All @@ -70,6 +71,7 @@ If you want to use a scratch org to play with Snowfakery recipes in this reposit
- Optional for OBF orgs: **Install NPSP** Run `cci flow run obf_npsp_scratch --org dev`
- **Install PMM** Run `cci flow run pmm_scratch --org dev`
- Optional for PMM orgs: **Install NPSP** Run `cci flow run npsp_scratch --org dev`
- For Nonprofit Cloud scratch orgs run `cci org scratch npc npc --default; cci org browser` to create a new scratch org and set it as a default. No further packages are required.
- For Education Cloud recipes, run `cci org scratch edc edc --default; cci org browser` to create a new scratch org, set it as default, and open it. No further installs are required, but education cloud may require additional setup.

### Instructions for the Collaborators
Expand Down
3 changes: 3 additions & 0 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ orgs:
eda:
config_file: orgs/eda.json
days: 7
npc:
config_file: orgs/npc.json
days: 7
edc:
config_file: orgs/edcloud.json
days: 7
Expand Down
49 changes: 49 additions & 0 deletions orgs/npc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"orgName": "Nonprofit Cloud",
"edition": "Enterprise",
"description": "This generates a Nonprofit Cloud Scratch org on a Enterprise edition org.",
"features": [
"AccountingSubledgerGrowthEdition",
"AccountingSubledgerUser",
"AnalyticsQueryService",
"Assessments",
"EnableSetPasswordInApi",
"Fundraising",
"Grantmaking",
"IndustriesActionPlan",
"IndustriesSalesExcellenceAddOn",
"IndustriesServiceExcellenceAddOn",
"MarketingUser",
"NonprofitCloudCaseManagementUser",
"OmniStudioDesigner",
"OmniStudioRuntime",
"OutcomeManagement",
"PersonAccounts",
"ProgramManagement",
"PublicSectorAccess"
],
"settings": {
"lightningExperienceSettings": {
"enableS1DesktopEnabled": true
},
"mobileSettings": {
"enableS1EncryptedStoragePref2": false
},
"chatterSettings": {
"enableChatter": true
},
"apexSettings": {
"enableDisableParallelApexTesting": true
},
"enhancedNotesSettings": {
"enableEnhancedNotes": true
},
"industriesSettings": {
"enableBenefitManagementPreference": true,
"enableBenefitAndGoalSharingPref": true,
"enableCarePlansPreference": true,
"enableGrantmaking": true,
"enableOutcomes": true
}
}
}

0 comments on commit ecdcc07

Please sign in to comment.