-
Notifications
You must be signed in to change notification settings - Fork 11
How to Setup SFDX
Article in progress...
-
Go to Settings -> Dev Hub and Enable the Dev Hub in your org. Really it's beneficial to just enable every setting in here
-
Create a new VSCode Salesforce project
-
In your new VSCode project go to the following file: config -> project-scratch-def.json and update it to have the settings and features you need your scratch org to have
-
Run the command palette command: SFDX: Authorize A Dev Hub. This will pop a browser window and let you log in to a Salesforce org.
-
Run the command palette command: SFDX: Create a Default Scratch Org
-
If you want to push your local code and config to the scratch org use the following command: SFDX: Push Source to Default Scratch Org
-
If you want to pull code or config from your scratch org into your local vscode project use the commnand: SFDX: Pull Source from Default Scratch Org
-
If you want to open your scratch org use the command: SFDX: Open Default Org