Salesforce Sample app: Lightning Components, Platform Events, and Salesforce DX.
Перейти к файлу
Wade Wegner f73efaa180 Update project-scratch-def.json 2017-10-14 16:20:29 -07:00
config Update project-scratch-def.json 2017-10-14 16:20:29 -07:00
data first commit 2017-07-13 14:14:38 +02:00
force-app/main/default adding platform events integration 2017-07-25 09:50:57 -04:00
.gitignore first commit 2017-07-13 14:14:38 +02:00
.salesforcedx.yaml Update .salesforcedx.yaml 2017-08-21 12:16:23 -07:00
README.md Merge branch 'master' into master 2017-09-10 10:13:34 -07:00
sfdx-project.json first commit 2017-07-13 14:14:38 +02:00

README.md

Northern Trail Outfitters Sample App

Deploy

Installation Instructions

  1. Authenticate with your hub org (if not already done):

    sfdx force:auth:web:login -d -a myhuborg
    
  2. Clone the northern-trail repository:

    git clone https://github.com/trailheadx/northern-trail
    cd northern-trail
    
  3. Create a scratch org and provide it with an alias (nto):

    sfdx force:org:create -s -f config/project-scratch-def.json -a nto
    
  4. Push the app to your scratch org:

    sfdx force:source:push
    
  5. Assign the nto permission set to the default user:

    sfdx force:user:permset:assign -n nto
    
  6. Load sample data:

    sfdx force:data:tree:import --plan ./data/sample-data-Merchandise__c-plan.json
    
  7. Open the scratch org:

    sfdx force:org:open
    

Or, deploy to SFDX using the button below:

Deploy