django-gallery/newdb.sh
David Todd 51a117ca5f
Add configuration to connect to a postgres database (#2)
CircleCI's free service only allows running 1 container at a time.
This causes problems if I want to use a database.
A workaround that I found seems to work by running the database server directly within the test container. This does increase test time however
2018-03-08 21:25:54 -06:00

2 lines
45 B
Bash
Executable File

#!/bin/bash
su postgres -c "psql < newdb.sql"