This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ELIZABETH DEGROOT
committed
Jul 24, 2019
1 parent
faf6917
commit 67ae9a5
Showing
1 changed file
with
21 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,19 +3,19 @@ This project contains the sample custom objects and custom tab for the Trailhead | |
|
||
=========================== | ||
### Contents: | ||
- [Tool Versioning](#tool-versioning) | ||
- [Tools](#tool-versioning) | ||
- [Resources](#resources) | ||
|
||
=========================== | ||
### Tool Versioning | ||
### Tools | ||
| Tool: | Version: | | ||
| ------------ | ---------- | | ||
| **SFDX-CLI** | ![npm](https://img.shields.io/npm/v/sfdx-cli.svg?label=SFDX-CLI&logo=Salesforce&style=Popout) | | ||
|
||
=========================== | ||
### The Project Overview | ||
# The Project Overview | ||
|
||
# Set Up the Salesforce DX Project | ||
### Set Up the Salesforce DX Project | ||
Our first goal is to set up a developer project which we'll use to modify our application. It starts by cloning the repository. Use the command ... | ||
``` | ||
git clone https://github.com/developerforce/sfdx-package-profiles-to-permsets | ||
|
@@ -28,7 +28,7 @@ git clone [email protected]:developerforce/sfdx-package-profiles-to-permsets | |
``` | ||
cd sfdx-package-profiles-to-permsets | ||
``` | ||
# Authorize Dev Hub in your Trailhead Playground | ||
### Authorize Dev Hub in your Trailhead Playground | ||
Log into your Dev Hub org. | ||
``` | ||
sfdx force:auth:web:login -d -a "Hub Org" | ||
|
@@ -39,23 +39,30 @@ If you already have an authorized Dev Hub, set it as the default: | |
``` | ||
sfdx force:config:set defaultdevhubusername=<username|alias> | ||
``` | ||
|
||
# Create a scratch org | ||
### Create a scratch org | ||
``` | ||
sfdx force:org:create -s -f config/project-scratch-def.json | ||
``` | ||
|
||
If you want to use an existing scratch org, set it as the default: | ||
### Push the source to your scratch org | ||
``` | ||
sfdx force:config:set defaultusername=<username|alias> | ||
sfdx force:source:push | ||
``` | ||
# Push the source to your scratch org | ||
### Open the scratch org. | ||
``` | ||
sfdx force:source:push | ||
sfdx force:org:open | ||
``` | ||
### Pull the changes | ||
``` | ||
# Open the scratch org. | ||
sfdx force:org:pull | ||
``` | ||
### Create a new Package Version | ||
``` | ||
sfdx force:package:version:create -p nameofApp -d force-app -k test1234 --wait 10 -v DevHub | ||
``` | ||
|
||
After installing the package into a scratch org and testing it out, next you release the package! | ||
``` | ||
sfdx force:org:open --path one/one.app | ||
sfdx force:package:version:promote -p [email protected] -v DevHub | ||
``` | ||
=========================== | ||
### Resources | ||
|