Skip to content

Tools to make it easier to connect to Heroku postgres databases from Postico.

Notifications You must be signed in to change notification settings

PhinCo/heroku-postico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heroku-postico

GitHub package.json version NPM oclif

Tools to make it easier to connect to Heroku postgres databases from Postico. You must have Postico installed for this tool to work. If you've never used Postico - it's one of the best Postgres apps for OSX on the market.

Installation

INSTALLATION
  $ npm install -g @connectedyard/heroku-postico
  $ heroku plugins:install @connectedyard/heroku-postico
  $ heroku postico

Commands

heroku postico:open

Fetch Heroku postgres databases for a team to choose from a list and connect in Postico.

USAGE
  $ heroku postico:open --team=[your heroku team]

heroku postico:export

Export a folder containing Postico favorite files for all Heroku postgres databases associated with a team.

USAGE
  $ heroku postico:export --team=[your heroku team]

Once the favorites are exported, drag & drop the folder onto the postico favorites window.

⚠️ ⚠️ ⚠️ Be sure to delete the exported favorites folder permanently after importing to prevent leaking your passwords.

Developing

  1. Clone the repo.
  2. CD into the repo and Link the heroku cli to your local working copy: heroku plugins:link.
  3. Make your edits and test your changes by running heroku postico as you normally would.
  4. Send us a PR and we'll review it.