Skip to content

Environment Setup

John M. Daniel edited this page Oct 8, 2018 · 20 revisions

How To Setup Salesforce DX Scratch Org

Create a DX Scratch Org

There are no special requirements with regards to the type of SalesforceDX scratch org needed to support this project.... just that one is created.

Install All Frameworks

As mentioned elsewhere, this codebase is dependent on other open source frameworks. These include:

Each of these must be installed before the source code from this project can be deployed to a scratch org.

Install ApexMocks

Install Apex Common

Install Force-DI

You can install the Force-DI Framework project via the Salesforce DX CLI as shown below. Using the SalesforceDX custom plugin "shane-sfdx-plugins" will be the simplest way to accomplish this.

sfdx plugins:install shane-sfdx-plugins
sfdx shane:github:package:install -g afawcett -r force-di
Clone this wiki locally