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
+devhub@gmail.com) - Login and head to the Dev Hub
/lightning/setup/DevHub/homeand turn the slider to Enabled - Install the Salesforce DX CLI
- Pull this project
- In terminal, type
sfdx force:auth:web:login --setdefaultdevhubusernameand 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:opento open your scratch organization - Execute
sfdx force:source:push --json --loglevel fatalto 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.