Commit graph

11 commits

Author SHA1 Message Date
Luca Palmieri
0924a7069c Update CI. 2023-02-18 18:45:54 +00:00
Luca Palmieri
03f5e6f5b5 Update deps 2022-10-01 14:38:35 +01:00
Luca P
ac8a60b4c5 Update all dependencies 2022-07-05 18:48:09 +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