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.
* Fix tools link * Change alias from `"Hub Org"` (two words) to `DevHub` (one word) to match later instructions and doesn't require the use of quotes as one word * Remove extra whitespace in code snippets
- Loading branch information
1 parent
abda583
commit 290141f
Showing
1 changed file
with
12 additions
and
12 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,7 +3,7 @@ This project contains the sample custom objects and custom tab for the Trailhead | |
|
||
=========================== | ||
#### Contents: | ||
- [Tools](#tool-versioning) | ||
- [Tools](#tools) | ||
- [Resources](#resources) | ||
|
||
=========================== | ||
|
@@ -26,38 +26,38 @@ git clone [email protected]:developerforce/sfdx-package-profiles-to-permsets | |
``` | ||
… to clone the repository. Then, open the directory. | ||
``` | ||
cd sfdx-package-profiles-to-permsets | ||
cd sfdx-package-profiles-to-permsets | ||
``` | ||
### Authorize Dev Hub in your Trailhead Playground | ||
Log into your Dev Hub org. | ||
``` | ||
sfdx force:auth:web:login -d -a "Hub Org" | ||
``` | ||
sfdx force:auth:web:login -d -a DevHub | ||
``` | ||
Proceed to log in with your dev hub credentials. | ||
|
||
If you already have an authorized Dev Hub, set it as the default: | ||
``` | ||
sfdx force:config:set defaultdevhubusername=<username|alias> | ||
sfdx force:config:set defaultdevhubusername=<username|alias> | ||
``` | ||
### Create a scratch org | ||
``` | ||
sfdx force:org:create -s -f config/project-scratch-def.json | ||
sfdx force:org:create -s -f config/project-scratch-def.json | ||
``` | ||
### Push the source to your scratch org | ||
``` | ||
sfdx force:source:push | ||
sfdx force:source:push | ||
``` | ||
### Open the scratch org. | ||
### Open the scratch org and make some changes. | ||
``` | ||
sfdx force:org:open | ||
sfdx force:org:open | ||
``` | ||
### Pull the changes | ||
``` | ||
sfdx force:org:pull | ||
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 | ||
sfdx force:package:version:create -p packageName -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! | ||
|
@@ -67,4 +67,4 @@ sfdx force:package:version:promote -p [email protected] -v DevHub | |
|
||
=========================== | ||
### Resources | ||
For details on using sfdx-simple, please review the [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev). | ||
For details on using sfdx-simple, please review the [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev). |