Skip to content

Commit 77f2632

Browse files
Cleaning Up Documentation
1 parent c38896f commit 77f2632

15 files changed

+70
-56
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
github: sfccdevops
2+
patreon: peter_schmalfeldt
3+
custom: https://www.paypal.me/manifestinteractive

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ Getting Setup
2525

2626
> Download the source code and follow these instructions to get setup:
2727
28-
[![Download](https://img.shields.io/badge/Download-blue.svg?logo=github&style=for-the-badge)](https://github.com/sfccdevops/sandbox-launchd/releases/latest)
28+
[![Download](https://img.shields.io/badge/Download-121212.svg?logo=github&style=for-the-badge)](https://github.com/sfccdevops/sandbox-launchd/releases/latest)
29+
30+
### Installation Steps
2931

3032
1. [Install SFCC-CI](docs/install-sfcc-ci.md)
3133
2. [Create API Client](docs/create-api-client.md)
@@ -34,16 +36,18 @@ Getting Setup
3436
5. [Fetch Sandbox UUID](docs/fetch-sandbox-uuid.md)
3537
6. [Install Launch Agents](docs/install-launch-agents.md)
3638

39+
[![Get Started](https://img.shields.io/badge/First_Step-1aa0db.svg?logo=github&style=for-the-badge)](docs/install-sfcc-ci.md)
40+
3741
### Extra Goodies
3842

39-
If you happen to use [Alfred](https://www.alfredapp.com) on your computer, we are also releasing a [Custom Workflow](./Sandbox.alfredworkflow) that allows you to Start & Stop your Sandbox, as well as use your mobile device to trigger your workflow remotely.
43+
If you happen to use [Alfred](https://www.alfredapp.com) on your computer, we are also releasing a [Custom Workflow](https://github.com/sfccdevops/sandbox-launchd/raw/main/Sandbox.alfredworkflow) that allows you to Start & Stop your Sandbox, and use your mobile device to trigger your workflow remotely.
4044

4145
[![Alfred Workflow](https://img.shields.io/badge/Alfred_Workflow-5C1F87.svg?logo=alfred&logoColor=white&style=for-the-badge)](docs/alfred-workflow.md)
4246

4347
Contributing
4448
---
4549

46-
> Interested in making this tool better? Fork this Repository and we'll gladly accept Pull Requests.
50+
> Are you interested in making this tool better? Fork this Repository, and we'll gladly accept Pull Requests.
4751
4852
[![Contribution Guide](https://img.shields.io/badge/Contribution_Guide-EEEEEE.svg?logo=github&logoColor=black&style=for-the-badge)](https://github.com/sfccdevops/sandbox-launchd/blob/develop/.github/CONTRIBUTING.md)
4953

@@ -55,4 +59,4 @@ About the Author
5559
Disclaimer
5660
---
5761

58-
> The trademarks and product names of Salesforce®, including the mark Salesforce®, are the property of Salesforce.com. SFCC DevOps is not affiliated with Salesforce.com, nor does Salesforce.com sponsor or endorse the SFCC DevOps products or website. The use of the Salesforce® trademark on this project does not indicate an endorsement, recommendation, or business relationship between Salesforce.com and SFCC DevOps.
62+
> The trademarks and product names of Salesforce®, including the mark Salesforce®, are the property of Salesforce.com. SFCC DevOps is not affiliated with Salesforce.com, nor does Salesforce.com sponsor or endorse the SFCC DevOps products or website. The use of the Salesforce® trademark on this project does not indicate an endorsement, recommendation, or business relationship between Salesforce.com and SFCC DevOps.

bin/boot-shutdown

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22

33
function shutdown()
44
{
5-
# Send Shutdown Signal to Sandbox in Background
6-
~/.sfccdevops/sdx-stop
7-
exit 0
5+
# Send Shutdown Signal to Sandbox in Background
6+
~/.sfccdevops/sdx-stop
7+
exit 0
88
}
99

1010
function startup()
1111
{
12-
# Send Startup Signal to Sandbox in Background
13-
~/.sfccdevops/sdx-start
12+
# Send Startup Signal to Sandbox in Background
13+
~/.sfccdevops/sdx-start
1414

15-
tail -f /dev/null &
16-
wait $!
15+
tail -f /dev/null &
16+
wait $!
1717
}
1818

1919
trap shutdown SIGTERM
2020
trap shutdown SIGKILL
2121

22-
startup;
22+
startup;

docs/adding-environment-variables.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,19 @@
55
Adding Environment Variables
66
===
77

8-
> We'll need the following Environmental Variables to be set before things will work.
8+
> We'll need the following Environmental Variables to be set before things will work.
99
10-
Add these under the existing `export` in your `~/.zshrc`
10+
Add the following under the existing exports listed in your `~/.zshrc`
1111

1212
```bash
13-
# SFCC CI Variables
13+
# SFCC-CI Variables
1414
export SFCC_OAUTH_CLIENT_ID="1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p"
1515
export SFCC_OAUTH_CLIENT_SECRET="my^super*secret+password"
1616
export SFCC_SANDBOX_ID=""
1717
```
1818

19+
### What do these do?
20+
1921
* `SFCC_OAUTH_CLIENT_ID` - This is your "API Client" that was generated earlier
2022
* `SFCC_OAUTH_CLIENT_SECRET` - This is the password you entered earlier
2123
* `SFCC_SANDBOX_ID` - We'll be getting this in a few steps

docs/alfred-workflow.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Alfred Workflow
1010
Installation
1111
---
1212

13-
[![Download Workflow](https://img.shields.io/badge/Download_Workflow-5C1F87.svg?logo=alfred&logoColor=white&style=for-the-badge)](../Sandbox.alfredworkflow)
13+
[![Download Workflow](https://img.shields.io/badge/Download_Workflow-5C1F87.svg?logo=alfred&logoColor=white&style=for-the-badge)](https://github.com/sfccdevops/sandbox-launchd/raw/main/Sandbox.alfredworkflow)
1414

1515
### Usage
1616

@@ -22,12 +22,12 @@ Installation
2222

2323
1. Open Alfred
2424
2. Click Remote Icon in Left Column
25-
3. Click the `[+]` button at bottom of list to add a New Remote
25+
3. Click the `[+]` button at the bottom of the list to add a New Remote
2626
4. Select: `Workflows` > `Sandbox` > `Sandbox`
2727
5. You can now manage your sandbox from your phone ;)
2828

2929
`*` **NOTE:** You will need a Powerpack license for this. It's 100% worth it ;)
3030

3131
---
3232

33-
[![README](https://img.shields.io/badge/README-121212.svg?logo=github&style=for-the-badge)](../README)
33+
[![README](https://img.shields.io/badge/README-121212.svg?logo=github&style=for-the-badge)](../README.md)

docs/create-api-client.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,32 @@
55
Create API Client
66
===
77

8-
If you have not already created your API Client ID, you'll need to do that to use this tool:
8+
> If you have not already created your API Client ID, you'll need to do that to use this tool.
9+
10+
Sorry in advance for this one. It's a beast, but you only have to do it once ;)
911

1012
1. Visit the [API Client](https://account.demandware.com/dw/account/APIAdmin) Tab on your SFCC [Account Manager](https://account.demandware.com/dw/account/Home) `*`
11-
2. Click `Add API Client` button in top right
12-
3. For `Display Name` enter something that identifies your sandbox, e.g. `ods-jane-doe`
13-
4. For `Description` write something helpful, e.g. `ODS API User for Jane Doe`
13+
2. Click `Add API Client` button in the top right
14+
3. For `Display Name`, enter something that identifies your Sandbox, e.g., `ods-jane-doe`
15+
4. For `Description`, write something helpful, e.g., `ODS API User for Jane Doe`
1416
5. Enter a secure password for `Password` ( this is your `SFCC_OAUTH_CLIENT_SECRET` )
15-
6. For `Access Control` check the `Enabled` checkbox
17+
6. For `Access Control`, check the `Enabled` checkbox
1618
7. Click the `Add` button on `Organizations`
17-
8. Select the checkbox next to your Organization name
19+
8. Select the checkbox next to your Organization's name
1820
9. Click the `Add` button to Assign the Organization
1921
10. Click the `Add` button on `Roles`
2022
11. Select the checkbox for `Sandbox API User`
2123
12. Click the `Add` button to Assign the Role
22-
13. Click the Filter Icon to the right of `No role scope defined`
24+
13. Click the Filter Icon to the right of the `No role scope defined`
2325
14. Select your Organization from the list
2426
15. Choose your Sandbox from the select list
2527
16. Click the `Add` button to add your Sandbox as a Sandbox API User
2628
17. Set `Token Endpoint Auth Method` to `client_secret_post`
2729
18. Set `Access Token Format` to `UUID - Deprecated. JWT recommended`
28-
19. You an leave everything else with default settings
30+
19. You can leave everything else with default settings
2931
20. Press `Save`
3032

31-
After Saving, you will be taken back to the list of API Clients ID's. Find the one you just created and open it. At the top of the page you will see your `API Client`
33+
After Saving, you will be returned to the API Clients ID list. Find the one you just created and open it. At the top of the page, you will see your `API Client`.
3234

3335
*Screenshot:*
3436

@@ -44,4 +46,4 @@ After Saving, you will be taken back to the list of API Clients ID's. Find the
4446

4547
---
4648

47-
[![Previous Step](https://img.shields.io/badge/Previous-121212.svg?logo=github&style=for-the-badge)](./install-sfcc-ci.md)   [![Next Step](https://img.shields.io/badge/Next_Step-1aa0db.svg?logo=github&style=for-the-badge)](./adding-environment-variables.md)
49+
[![Previous Step](https://img.shields.io/badge/Previous-121212.svg?logo=github&style=for-the-badge)](./install-sfcc-ci.md)   [![Next Step](https://img.shields.io/badge/Next_Step-1aa0db.svg?logo=github&style=for-the-badge)](./adding-environment-variables.md)

docs/fetch-sandbox-uuid.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Fetch Sandbox UUID
77

88
> Now that we've verified everything is working with SFCC-CI, we can get our Sandbox UUID.
99
10+
Let's get a list of sandboxes our API Client ID has permission to access:
11+
1012
```bash
11-
# Verify we can see a list of sandboxes
1213
sfcc-ci sandbox:list
1314
```
1415

15-
Using the table that was generated in the command above, look for your sandbox number in the `instance` column. For example, if your sandbox starts with `abcd-001` your `instance` will be `001`.
16+
Using the table generated in the command above, look for your sandbox number in the `instance` column. For example, if your sandbox starts with `abcd-001` your `instance` will be `001`.
1617

1718
Copy the `id` from the `id` column for your sandbox.
1819

1920
Now we can paste our Sandbox UUID as the value for `SFCC_SANDBOX_ID` in our `~./zshrc` file.
2021

2122
```bash
22-
# UUID of Sandbox
2323
export SFCC_SANDBOX_ID="9p8o7n6m-5l4k-3j2i-1h0g-9f8e7d6c5b4a"
2424
```
2525

docs/img/create-client-id.png

-116 KB
Loading
-13.5 KB
Loading

docs/img/security-login-items.png

-137 KB
Loading

0 commit comments

Comments
 (0)