Skip to content

Commit 25b5677

Browse files
committed
Add Open Dashboard For Specific Add-On as Heroku TIL
1 parent df3492d commit 25b5677

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
1010

1111
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
1212

13-
_1438 TILs and counting..._
13+
_1439 TILs and counting..._
1414

1515
---
1616

@@ -392,6 +392,7 @@ _1438 TILs and counting..._
392392

393393
- [Deploy A Review App To A Different Stack](heroku/deploy-a-review-app-to-a-different-stack.md)
394394
- [Diagnose Problems In A Heroku Postgres Database](heroku/diagnose-problems-in-a-heroku-postgres-database.md)
395+
- [Open Dashboard For Specific Add-On](heroku/open-dashboard-for-specific-add-on.md)
395396
- [Run SQL Against Remote Postgres Database](heroku/run-sql-against-remote-postgres-database.md)
396397
- [Set And Show Heroku Env Variables](heroku/set-and-show-heroku-env-variables.md)
397398
- [SSH Into Heroku Server Hosting App](heroku/ssh-into-heroku-server-hosting-app.md)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Open Dashboard For Specific Add-On
2+
3+
The number of times I've needed to check the papertrail logs for my
4+
Heroku-hosted Rails app is a lot. I open a browser tab, go through several
5+
layers of navigation to get to my app's dashboard, and then click the
6+
papertrail link under _Add-ons_.
7+
8+
There is a much quicker way using the Heroku CLI.
9+
10+
```bash
11+
$ heroku addons:open papertrail -a my-app-name
12+
Opening https://addons-sso.heroku.com/apps/abc123/addons/efg456...
13+
```
14+
15+
It sends you to an add-ons SSO link in the browser which authenticates you and
16+
drops you into the dashboard for that specific add-on. You just need to specify
17+
the add-on name and the app name.

0 commit comments

Comments
 (0)