This repo houses the scratch org to be used for testing the salesforce php plugin against
- Signup for a developer edition organization here (I recommend using your email
[email protected]
) - Login and head to the Dev Hub
/lightning/setup/DevHub/home
and turn the slider to Enabled - Install the Salesforce DX CLI
- Pull this project
- In terminal, type
sfdx force:auth:web:login --setdefaultdevhubusername
and login to the developer hub - Create a scratch org
sfdx force:org:create -f config/project-scratch-def.json --setalias salesforcephpdx --durationdays 7 --setdefaultusername --json --loglevel fatal
- Use
sfdx force:org:open
to open your scratch organization - Execute
sfdx force:source:push --json --loglevel fatal
to push this code to the scratch org - Execute the apex in
scripts/apex/seed.apex
Once it's all set up, add items as needed for testing the API.