Skip to content

Salesforce-org-Impact-Labs/01HousingandHomelessness

01HousingandHomelessness

Impact Lab - Housing & Homelessness

Manual Production Package Release Beta Package and Install

Installation and setup

Install package using the link from Releases above. Reminder: If testing in sandbox, add "test" to package url when installing

Complete the following required setup steps

  1. Permissions Setup
  2. Data Setup
  3. Messaging Setup

Optional steps

  1. Adjust scoring metrics
  2. UI Setup
  3. Client Profile Builder Flow

Development

To work on this project in a scratch org:

  1. Set up CumulusCI
  2. Run cci flow run dev_org --org dev to deploy this project.
  3. You can now use sfdx commands like org:open, push, pull, etc.
  4. After step 2, you can run cci task run run_tests --org dev to run all the apex tests
  5. Delete orgs like this cci org scratch_delete dev

Sample Data

  1. Put data in the org however you like
  2. Run cci task run extract_dataset

Packaging

  1. The packaging flow creates a new beta package when you merge your PR into master
  2. It's possible that you'll get a passing PR check (it deploys, all tests pass) but then there are packaging errors (namespace issues, overall code coverage < 75%, etc)
  3. cci flow run release_production --org packaging will do a non-beta release

Troubleshooting

If the default org doesn't show up down in the vscode tray, you can run cci org default dev to manually set the default org