Newer Version Available
Sample Repository on GitHub
If you want to check out Salesforce DX features quickly, start with the sfdx-simple GitHub repo. It contains an example of the project
configuration file (sfdx-project.json), a simple
Salesforce app, and Apex tests.
Cloning this repo creates the directory sfdx-simple. See the repo’s Readme for more information.
Assuming that you’ve already set up Git, use the git clone command to clone the master branch of the repo from the command line.
To use HTTPS:
1git clone https://github.com/forcedotcom/sfdx-simple.gitTo use SSH:
1git clone git@github.com:forcedotcom/sfdx-simple.gitIf you don’t want to use Git, download a .zip file of the repository’s source using Clone, or download on the GitHub website. Unpack the source anywhere on your local file system.
To check out a more complex example, clone the dreamhouse-sfdx GitHub repo. This standalone application contains multiple Apex classes, Lightning components, Visualforce components, and custom objects.