Pre-requisites:
-
Sign-up for a Developer Org at sfdc.co/devorg
-
Setup Developer Tools as explained in sfdc.co/setupdevtools
-
Clone the repo:
git clone [email protected]:albarivas/security-workshop.git
-
If you haven't already done so, authorize with your hub org and provide it with an alias (myhuborg in the command below):
sfdx force:auth:web:login -d -a myhuborg
-
Create a scratch org and provide it with an alias (security in the command below):
sfdx force:org:create -s -f config/project-scratch-def.json -a security
-
Push the app to your scratch org:
sfdx force:source:push
-
Assign the Security permission set to the default user:
sfdx force:user:permset:assign -n security
-
Import sample data:
sfdx force:data:tree:import -p ./data/sample-data-plan.json
-
Open the scratch org:
sfdx force:org:open