Skip to content

Instantly share code, notes, and snippets.

@akhilome
Last active April 14, 2019 05:06
Show Gist options
  • Save akhilome/dd85e21ee4996f8e59fc87c432003840 to your computer and use it in GitHub Desktop.
Save akhilome/dd85e21ee4996f8e59fc87c432003840 to your computer and use it in GitHub Desktop.
Random scripts/statements to take note of

Open Heroku Provisioned Postgres DB

heroku pg:psql <postgresql-db-name> -a <app-name>

To Exit

\q

Run NPM Scripts within Heroku

heroku run <npm script>

Run Bash in Heroku

heroku run bash -a <app-name>

To exit

exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment