Book Image

Heroku Cookbook

By : Mike Coutermarsh
Book Image

Heroku Cookbook

By: Mike Coutermarsh

Overview of this book

Heroku is a Platform as a Service that enables developers to rapidly deploy and scale their web applications. Heroku is designed for developer happiness, freeing developers from doing system administrative tasks such as configuring servers and setting up load balancers. Developers are able to focus on what they do best, building web applications, while leaving the details of deployment and scaling to the experts at Heroku. This practical guide is packed with step-by-step solutions to problems faced by every production-level web application hosted on Heroku. You'll quickly get comfortable with managing your Heroku applications from the command line and then learn everything you need to know to deploy and administer production-level web applications.
Table of Contents (17 chapters)
Heroku Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Connecting to Heroku Postgres from Navicat


Navicat is a popular GUI for database administration. In this recipe, you will learn how to set up a connection to your Heroku Postgres database in Navicat.

Getting ready

To start, you'll first need to download and install Navicat. For this recipe, you'll need a version of Navicat that is compatible with Postgres.

You can either use Navicat for Postgres or you can use Navicat Essentials. The essentials version is a less-expensive edition of Navicat with a limited feature set aimed at more basic database administration tasks.

The download and installation instructions are available here:

How to do it…

Once we have Navicat installed, we'll need to set up a connection to our Heroku Postgres database:

  1. Let's start by getting the credentials for our Heroku database. We can do this by looking at our DATABASE_URL...