Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 574 Bytes

Setting up Database.md

File metadata and controls

22 lines (14 loc) · 574 Bytes

Guide to Setup up mock data in PostgreSQL

You can also follow this video guide to set up PostgreSQL

  1. Download PostgreSQL and pg-admin4(optional).

  2. Restore database from dump files

    Before restoring data from dump file we need to create a database in which we could dump the data

    createdb -h localhost -U postgres -W caucus_db

    Dump Data to the database.

    pg_restore --dbname caucus_db ./dump/caucus_db