From 96bb8a69aa97101756702e6afaf8d5964f7acac8 Mon Sep 17 00:00:00 2001 From: x Date: Wed, 12 Mar 2025 23:42:42 +0100 Subject: [PATCH] 0 --- README.md | 12 +++++++++++- migratetags.bash | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 migratetags.bash diff --git a/README.md b/README.md index 2e51354..a670d9f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,14 @@ -blah +# df0cker + +run f0ck inside of docker + +-- + +git clone https://git.lat/schrumpel/df0cker + +cd df0cker + +git clone https://git.lat/f0ck/f0ckv2 docker buildx build -f f0ckv2.dockerfile . -t f0ckv2- diff --git a/migratetags.bash b/migratetags.bash new file mode 100644 index 0000000..2b4e9f6 --- /dev/null +++ b/migratetags.bash @@ -0,0 +1,18 @@ +#!/bin/bash +# f0ck databases +#srsly + +#postgres +export PGPASSWORD= +P_DB_NAME="f0ck" +P_DB_USER="f0ck" +P_DB_HOST="localhost" + +TABLE_TAGS_ASSIGN="tags_assign" +TABLE_TAGS="tags" +SCHEMA="public" + +psql -U "$P_DB_USER" -d "$P_DB_NAME" -h "$P_DB_HOST" -f path + + +psql -U "$P_DB_USER" -d "$P_DB_NAME" -h "$P_DB_HOST" -f path