aboutsummaryrefslogtreecommitdiff
path: root/updater/sql/doall.sh
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2024-06-16 12:02:05 +0200
committerRaindropsSys <raindrops@equestria.dev>2024-06-16 12:02:05 +0200
commit55c7ee618e5d59ac5eb691febb6dd911f3f75d2a (patch)
tree310ff9cc2178a5f3a35aaa5ea8f1352114018f53 /updater/sql/doall.sh
parente44e2fe070484e06d384a31ef2699c3a2d5d474e (diff)
downloadfaunerie-55c7ee618e5d59ac5eb691febb6dd911f3f75d2a.tar.gz
faunerie-55c7ee618e5d59ac5eb691febb6dd911f3f75d2a.tar.bz2
faunerie-55c7ee618e5d59ac5eb691febb6dd911f3f75d2a.zip
Fix SQL stuff + remove C++ code
Diffstat (limited to 'updater/sql/doall.sh')
-rwxr-xr-xupdater/sql/doall.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/updater/sql/doall.sh b/updater/sql/doall.sh
deleted file mode 100755
index 89594f8..0000000
--- a/updater/sql/doall.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-PATH=/opt/homebrew/Cellar/postgresql@16/16.2_1/bin:$PATH
-brew services start postgresql@16
-rm -f $HOME/.db.pgdump
-wget $1 -O $HOME/.db.pgdump
-dropdb --if-exists derpibooru
-#sudo -u postgres dropdb --if-exists derpibooru
-createdb derpibooru
-#sudo -u postgres createdb derpibooru
-pg_restore -v -O -d derpibooru $HOME/.db.pgdump
-#sudo -u postgres pg_restore -v -O -d derpibooru $HOME/.db.pgdump
-python3 main.py
-#sudo -u postgres bash -c "cd $PATH && python3 main.py"
-brew services stop postgresql@16
-rm -f $HOME/.db.pgdump