1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/mipilin synced 2025-05-10 23:33:07 +00:00

uhhh yeah

Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
Rae 5e 2024-12-25 18:44:29 -05:00
parent 5abe0b5fad
commit afc634b0d2
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
43 changed files with 573 additions and 3792 deletions

11
reset.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
sudo systemctl start docker
sudo docker container stop postgres
sudo docker container rm postgres
sudo docker run --name postgres -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 postgres
echo "Pausing for one second to give docker time to process what the fuck just happened"
sleep 1
./node_modules/.bin/drizzle-kit migrate
echo
echo "Database reset and running"