Commit graph

14 commits

Author SHA1 Message Date
Luca Palmieri
fbff254455 Fix 'without db' confusion 2024-09-01 11:08:07 +02:00
Luca Palmieri
5eb909a94c Don't require the user to have psql installed 2024-08-30 11:38:17 +02:00
Luca Palmieri
d5b9cea659 Update dependencies 2024-08-29 16:08:00 +02:00
Luca Palmieri
af7916f25c Update sqlx to 0.7 2023-09-19 09:49:53 +02:00
Luca Palmieri
ca1bddab96 Update CI. 2023-02-18 18:38:43 +00:00
Luca Palmieri
8d5af0ebc3 Update deps 2022-10-01 14:33:00 +01:00
Luca P
1dcad004df Update all dependencies 2022-07-05 18:26:59 +01:00
Luca Palmieri
b2cfdf30f2 Do not use backticks - they lead to the script trying to execute the quoted command. 2021-12-28 12:20:06 +01:00
Luca Palmieri
0c989497fc Proactively verify if psql and sqlx are installed before moving forward with script execution. 2021-07-05 09:00:04 +02:00
Luca Palmieri
517f7e4728 Fix migration script. 2021-04-28 20:42:24 +01:00
LukeMathWalker
50798e8e67 Update db script. 2021-04-02 11:51:23 +01:00
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