Loading tutorials
sf CLI installed. You don't need to enable anything yet. Later chapters cover enabling Dev Hub and authorizing it.6 min readsf commands: authorizing the Dev Hub, creating scratch orgs, deploying source. This chapter confirms that the CLI is installed, current, and able to run the commands you need. It also covers the usual installation problems.7 min readsf) gets permission to act on your Dev Hub org. You will log in through the browser, set the org as the default Dev Hub, check the stored credentials, and learn the failure modes. It assumes you have enabled Dev Hub in Setup and that sf --version runs 5 min readsf and authorized your Dev Hub, as covered in the earlier chapters. You should also be comfortable reading JSON. Here you create the local project that holds your source code and your scratch org definition. The next chapter edits the definition file.5 min readsf) and a Salesforce DX project. You should also be comfortable reading and writing JSON. By the end you will be able to write a definition file that produces the scratch org you want, and to find the cause when it doesn't.5 min readmy-hub. It also assumes you created a scratch org with the alias my-scratch from the definition file in the previous chapter. You should be comfortable running sf commands in a terminal.5 min readsf org create scratch,6 min readmy-hub, that sf is installed, and that you can c6 min readsf CLI, and created at least one scratch org. It also assumes you can read a JSON definition file and a terminal error message. Most failures at this stage come from four places: authorization, permissions, the definitio6 min readsf org login web --set-default-dev-hub by hand. It also assumes you can read a short YAML pipeline. The browser login is a good fit for your laptop. A CI job has no browser and no person to type a password, so it needs a non-interactive5 min read