optimized for Hack Club Bank
Screen.Recording.2022-01-14.at.6.19.15.PM.mov
- Install Raycast if you don't already have it
- Download the bash script below
- Follow Raycast's Script Command install (instructions)
After installing, this script command can be found by searching for "Heroku Rails Console" (or it's acronym: hrc) in Raycast. PLEASE BE CAREFUL you can easily mess up production data with the Rails Console. This only makes it easier to do that 😁!
| Shorthand | Full Dyno Name | 
|---|---|
| bank | bank-hackclub | 
| . PR_ID^ notice the . | bank--pr- PR_ID(.1234 opens bank--pr-1234) | 
- I use iTerm2, so it'll open iniTerm2(it should be easy to switch it out for another terminal. Just replaceiTerm2in the apple script section)
- iTerm2must already be running in the background
- You might need to give Raycast permission to open iTerm2 (Mac OS will prompt you during the initial run)