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
  • Loading branch information
ELIZABETH DEGROOT committed Jul 24, 2019
1 parent faf6917 commit 67ae9a5
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 67ae9a5

Please sign in to comment.