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.
- Salesforce Extensions Documentation
- Salesforce CLI Setup Guide
- Salesforce DX Developer Guide
- Salesforce CLI Command Reference
#login to your DevHub
sfdx force:auth:jwt:grant --clientid [consumerKey] --username [devHubUserName] --jwtkeyfile assets/server.key --setdefaultdevhubusername
#create scratch
sfdx force:org:create -v [devHubUserName] -s -f config/project-scratch-def.json -a [scratchOrgName]
#push source to scratch
sfdx force:source:push -u [scratchOrgName]
#install package
sfdx force:package:install -p 04t4W0000034KebQAE -w 30 -u Logins
sfdx force:package:install -p 04t5G000003rUipQAE -w 30 -u Logins
sfdx force:package:install -p 04t5G000003rUesQAE -w 30 -u Logins
sfdx force:package:install -p 04to0000000WR73 -w 30 -u Logins
sfdx force:source:deploy --targetusername Logins -p force-app/