Commit graph

3 commits

Author SHA1 Message Date
dkulla01
ac90bcbb79
Exit if dockerized postgres is already running (#86)
This creates the postgres container with a "postgres_<timestamp>" name.
This lets us check for an existing, running, postgres container and
exit early if it already exists. It's a little more clear/explicit than
the "port 5432 already in use" error message that results from rerunning
the script, and it addresses the gotcha in footnote 30
2021-04-02 11:41:14 +01:00
Filmon Arefayne
537f2e783e
Update init_db.sh (#87)
Quote also the user variable
2021-04-02 11:40:49 +01:00
Luca Palmieri
1f0b14c248 Refactor structure to use one root branch per chapter. 2020-12-05 17:19:11 +00:00