Creating a scratch Org

A scratch Org is the Org where developers will build source code and configure an application. To create a scratch Org from the command line, you can execute the following command (cd into the project before running this command):

sfdx force:org:create -f project-scratch-def.json -a LighntningScratchOrg

Note that, here, LightningScratchOrg is the alias of the Org. Also, note that we have to be in the path of the config file. The following screenshot depicts what is shown following the successful creation of a scratch Org:

Notice from the screenshot that a username is automatically assigned and an OrgId is also generated.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.106.135