Commit graph

16 commits

Author SHA1 Message Date
Luca Palmieri
faa3f6cc47 Fix 'without db' confusion 2024-09-01 11:27:01 +02:00
Luca Palmieri
eb9dc81dff Don't require the user to have psql installed 2024-08-30 11:38:43 +02:00
Luca Palmieri
c9c355d61f Update dependencies 2024-08-29 16:27:35 +02:00
Luca Palmieri
8365fb0b0f Update sqlx to 0.7 2023-09-20 09:47:34 +02:00
Luca Palmieri
0afe546117 Update outdated dependencies 2023-02-18 22:48:33 +00:00
Luca Palmieri
9c3ab2868e Update CI. 2023-02-18 18:44:01 +00:00
Luca Palmieri
26a434f095 Update deps 2022-10-01 14:38:10 +01:00
Luca P
10ba3ab438 Update all dependencies 2022-07-05 18:43:49 +01:00
Luca P
df6bdea82b Last part of chapter 10 - sessions, seed users and change password form 2022-03-12 19:05:53 +00:00
Luca Palmieri
4d96b887cb Do not use backticks - they lead to the script trying to execute the quoted command. 2021-12-28 12:20:13 +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