Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
* 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
douglascayers authored Aug 8, 2019
1 parent abda583 commit 290141f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

===========================
Expand All @@ -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!
Expand All @@ -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).

0 comments on commit 290141f

Please sign in to comment.