Miguel-Matos / EERE_Portal

0 stars 0 forks source link

Create a Scratch Org #7

Closed bestWenshu closed 1 month ago

bestWenshu commented 1 month ago
  1. Enable dev hub

  2. Create project

  3. Create scratch org sf org create scratch -f config/project-scratch-def.json -a MyScratchOrg -v DevHubAlias -d

  4. Going to our new scratch org using command: sf org open -o MyScratchOrg

  5. Source convert sf force source convert -d metadataFolder

  6. Deploy sf force mdapi deploy -d metadataFolder -u MyScratchOrg

bestWenshu commented 1 month ago

Closed as duplicated