diff --git a/README.md b/README.md index 86b3279..27b675e 100644 --- a/README.md +++ b/README.md @@ -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). @@ -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 diff --git a/cumulusci.yml b/cumulusci.yml index 4edccfd..8ce28b8 100644 --- a/cumulusci.yml +++ b/cumulusci.yml @@ -28,6 +28,9 @@ orgs: eda: config_file: orgs/eda.json days: 7 + edc: + config_file: orgs/edcloud.json + days: 7 tasks: robot: options: @@ -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 @@ -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 @@ -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 @@ -157,7 +160,7 @@ flows: 1: flow: sal:install_prod options: - org: eda - + org: eda + + - diff --git a/orgs/edcloud.json b/orgs/edcloud.json new file mode 100644 index 0000000..a532269 --- /dev/null +++ b/orgs/edcloud.json @@ -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 + } + } +} \ No newline at end of file