cumulus ci template for net zero cloud org

all configs and all vanilla bby

before your begin

  • modify adminEmail in config/project-scratch.def.json to your email
  • you need to have sfdx and cumulusci installed

creating the org

  1. create your scratch org using cci org scratch nzc <org_name> (nzc is a custom configuration)
  2. run the custom nzc cci flow to add a bunch of sfdx configs and perms cci flow run setup_nzc --org <org_name>
  3. open the org in a browser using cci org browser <org_name>
  4. load data

data load tasks (so far)

you can load base data using a straight command cci task run load_dataset --org <orgname> or i made a few cci tasks. run them using cci task run <INSERT ONE OF THE OPTIONS BELOW> --org <orgname>

  • load_buildings
  • load_vehicles
  • load_waste (requires buildings first)

other useful commands i'm going to forget if i don't write them down

cci task run extract_dataset --org nzc

sfdx force:data:tree:export -q "SELECT ID, Name, DeveloperName, SobjectType, Description FROM RecordType" -d datasets

sfdx force:data:tree:import -f datasets/RecordType.json

cci task run extract_dataset -o mapping datasets/bldgs.yml -o sql_path datasets/db_bldgs.sql

cci task run extract_dataset -o mapping datasets/vehicles.yml -o sql_path datasets/db_vehicles.sql

cci task run load_dataset --org -o mapping datasets/vehicles.yml -o sql_path datasets/db_vehicles.sql

to do:

  • freight
  • biz travel
  • procurement
  • supplier
  • sbts
  • annual inventory?
  • forecasting?

Read All About It

Configure Your Salesforce DX Project

The sfdx-project.json file contains useful configuration information for your project. See Salesforce DX Project Configuration in the Salesforce DX Developer Guide for details about this file.