Docsity

Deploying Posgresql on Heroku: A Step-by-Step Guide for Setting Up Your Database Locally, Summaries of Mathematics

Partial preview of the text

Download Deploying Posgresql on Heroku: A Step-by-Step Guide for Setting Up Your Database Locally and more Summaries Mathematics in PDF only on Docsity!

Guide for deploying Posgresql on Heroku

On your main page Select your application Go to the Resources on menu bar In add-ons search box, search for Postgres Select Heroku Postgres (for PosgreSQL)

Submit Order Form to get a free Heroku Postgres for your application. Select Heroku Postgres to see your database information

Get the pgadmin4-x-x.exe file and then install on your computer. Run PgAdmin on your computer. You will be asked for a secure password, remember your password at this step.

Click Add New Server Go to the Connection tab

Add DB restriction in Advanced to select only your database Then click Save button.

From now on, you can edit your database on Heroku locally via PgAdmin tool. Use the Query Tool to CRUD your database Now, try to test your database, example as below. I have tested with 1 table and 2 records

That’s OK for your database testing on Heroku.