Skip to content

Add developer database locally

Rasmus Rudling edited this page Nov 10, 2021 · 1 revision
  1. Get the ais-developer-database.sql-file from Head of Internal Systems.
  2. Move ais-developer-database.sql to the AIS repo and enter its directory.
  3. vagrant up
  4. vagrant ssh
  5. Log into psql as postgres user: psql -U postgres
  6. Drop database: drop database ais_dev;
  7. Quit psql: \q
  8. Create database as user postgres: psql -U postgres < ais-developer-database.sql
Clone this wiki locally