Luca Palmieri
eaeaa08c50
Fix 'without db' confusion
2024-09-01 11:09:48 +02:00
Luca Palmieri
aa9c00de51
Don't require the user to have psql installed
2024-08-30 11:38:27 +02:00
Luca Palmieri
8b0196d24c
Update dependencies
2024-08-29 16:11:08 +02:00
Luca Palmieri
384916fddd
Update sqlx to 0.7
2023-09-19 09:53:53 +02:00
Luca Palmieri
325a4de9ef
Update CI.
2023-02-18 18:39:13 +00:00
Luca Palmieri
285653b802
Update deps
2022-10-01 14:34:33 +01:00
Luca P
1714370c70
Update dependencies
2022-07-05 18:30:22 +01: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