Skip to content

Commit

Permalink
Adding Education Cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
acrosman committed Feb 6, 2024
1 parent 71f7c33 commit 63eb54e
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 9 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
4. Snowfakery also supports seeding files as [ContentVersions](https://snowfakery.readthedocs.io/en/docs/salesforce.html#contentversions) using standard plugins.
5. You can [query](https://snowfakery.readthedocs.io/en/docs/salesforce.html#incorporating-information-from-salesforce) existing Salesforce data and relate to snowfakery recipe.
6. The usage of Snowfakery is not limited to NPSP nor EDA; however, Data Gen Toolkit team develops resources to advocate nonprofits and education community.
## Tooling
## Tooling
### Tools for Participating
Most people who participate in this project have access to [VS Code](https://code.visualstudio.com/Download).

Expand Down Expand Up @@ -70,6 +70,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 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
19 changes: 11 additions & 8 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
edc:
config_file: orgs/edcloud.json
days: 7
tasks:
robot:
options:
Expand Down Expand Up @@ -55,7 +58,7 @@ tasks:
group: NPSP
options:
generator_yaml: snowfakery_samples/npsp/Contact_npsp.recipe.yml

activate_standard_pricebook:
description: Activate standard price book
class_path: cumulusci.tasks.apex.anon.AnonymousApexTask
Expand Down Expand Up @@ -86,7 +89,7 @@ tasks:
description: create a new eda org alias
class_path: cumulusci.cli
options:
command: "cci org scratch dev eda"
command: "cci org scratch dev eda"
flows:
osc_memberships_project:
description: OSC Membership Schema and Benefits project
Expand All @@ -97,14 +100,14 @@ flows:
task: load_membership_products
3:
task: load_membership_opportunities

npsp_org:
steps:
1:
task: npsp_account
2:
task: npsp_contact
task: npsp_contact

# cci flow run npsp_scratch -o npsp_settings__num_records 2 would set a particular option for the subflow
npsp_scratch:
description: Requires default org to be set. Installs npsp and creates a bunch of default settings to make the data look more realistic
Expand Down Expand Up @@ -157,7 +160,7 @@ flows:
1:
flow: sal:install_prod
options:
org: eda

org: eda




52 changes: 52 additions & 0 deletions orgs/edcloud.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"orgName": "Education Cloud",
"edition": "Enterprise",
"description": "This generates an Education Cloud scratch org on an enterprise edition org.",
"features": [
"EducationCloud:10",
"AccountingSubledgerGrowthEdition",
"AccountingSubledgerUser",
"AnalyticsQueryService",
"Assessments",
"EnableSetPasswordInApi",
"Fundraising",
"IndustriesActionPlan",
"IndustriesSalesExcellenceAddOn",
"IndustriesServiceExcellenceAddOn",
"LightningScheduler",
"LightningServiceConsole",
"MarketingUser",
"OmniStudioDesigner",
"OmniStudioRuntime",
"PersonAccounts",
"PublicSectorAccess"
],
"settings": {
"lightningExperienceSettings": {
"enableS1DesktopEnabled": true
},
"mobileSettings": {
"enableS1EncryptedStoragePref2": false
},
"chatterSettings": {
"enableChatter": true
},
"apexSettings": {
"enableDisableParallelApexTesting": true
},
"enhancedNotesSettings": {
"enableEnhancedNotes": true
},
"industriesSettings": {
"enableIndustriesAssessment": true,
"enableDiscoveryFrameworkMetadata": true,
"enableEducationCloud": true,
"enableStudentSuccess": true,
"enableAcademicOperations": true,
"enableAlumniRelations": true,
"enableCarePlansPreference": true,
"enableBenefitManagementPreference": true,
"enableBenefitAndGoalSharingPref": true
}
}
}

0 comments on commit 63eb54e

Please sign in to comment.