2. Goals and Audience
Discovering a brand new Salesforce Developer eXperience
Taking a simple use case’s walk-through steps
Laying foundations for future more detailed DX events
Needed an intermediate sfdc experience
Events Platform Basics talk
3. [What] sfdx
A new way to manage and develop apps across their entire lifecycle
Source-driven development of code
Team collaboration with governance
Externalizing metadata
Letting developers use their modern tools
The “source of truth” shifts into a VCS
New experiences, including the use of Heroku Flow to drive both CI and CD
4. [Why] sfdx
Solving developer sandbox quick/light rollback for canceled task
Lightening developer sandbox setting up time loss
Simulating and testing apps on orgs with different features (compared with the “classic” dev
sandbox)
Creating use-specific orgs for demo purposes
5. [Why] sfdx
CI scenarios : automated testing (e.g. with Jenkins) and optional further deploy to another
sandbox
11. sfdx force:auth:web:login
sfdx force:org:create
sfdx force:org:create
sfdx force:config:list
sfdx force:alias:set
Authorizing, creating a scratch org, config and alias settings
>> Authorizing our devhub (or another org, e.g. for using force:mdapi
scratch orgs not manageable)
>> Check configs
>> Creating a new scratch org ( + defaultusername and scratch-
def.json)
>> Showing scratch orgs on Env Hub
>> Re-Check configs
>> Aliases : list, set and how to use them