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:
parent
5abe0b5fad
commit
afc634b0d2
43 changed files with 573 additions and 3792 deletions
11
reset.sh
Executable file
11
reset.sh
Executable 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"
|
Loading…
Add table
Add a link
Reference in a new issue