- first need to create a scratch org: sf org create scratch -d -f config/project-scratch-def.json -a dreamhouse-org
- push the code in local org: sfdx force:source:push -f
- if you want to delete the existing org: sfdx force:org:delete
- if you want to take a pull from your local scratch org: sfdx force:org:pull
Now that you’ve created a Salesforce DX project, what’s next? Here are some documentation resources to get you started.
Do you want to deploy a set of changes, or create a self-contained application? Choose a development model.
The sfdx-project.json
file contains useful configuration information for your project. See Salesforce DX Project Configuration in the Salesforce DX Developer Guide for details about this file.