Read this blog post to learn more about the application.
-
Authenticate with your hub org (if not already done):
sfdx force:auth:web:login -d -a myhuborg
-
Clone the dreaminvest repository:
git clone https://github.com/ccoenraets/dreaminvest cd dreaminvest
-
Create a scratch org and provide it with an alias (nto):
sfdx force:org:create -s -f config/project-scratch-def.json -a dreaminvest
-
Push the app to your scratch org:
sfdx force:source:push
-
Assign the nto permission set to the default user:
sfdx force:user:permset:assign -n dreaminvest
-
Open the scratch org:
sfdx force:org:open
-
In Setup, type theme in the quick find box. Click Themes and Branding, and flip the toggle to hide background images in Lightning Experience.
-
Load sample data (Sectors):
- In Setup, type Data Import in the Quick Find box and click Data Import Wizard.
- Click Launch Wizard.
- Click the Custom objects tab, click Sectors, and click Add New Records.
- Drag sectors.csv from the data folder of this project to the upload area.
- Click Next, Next, and Start Import.
-
Load sample data (Funds):
- In Setup, type Data Import in the Quick Find box and click Data Import Wizard.
- Click Launch Wizard.
- Click the Custom objects tab, click Funds, and click Add New Records.
- For Which Sector field in your file specifies the Master/Detail relationship?, select Sector Id (External ID).
- Drag funds.csv from the data folder of this project to the upload area.
- Click Next, Next, and Start Import.
-
In App Launcher, select the DreamInvest app
-
Click the Fund Explorer tab