diff --git a/compose.sh b/compose.sh deleted file mode 100644 index 430a84e..0000000 --- a/compose.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -# Run docker compose with tee to show output and save to file -docker compose up -d --build |& tee build_logs.txt \ No newline at end of file diff --git a/pg_dumper.sh b/pg_dumper.sh deleted file mode 100644 index b3f03e8..0000000 --- a/pg_dumper.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -# Set the necessary environment variables -export PGHOST="localhost" -export PGPORT="5432" -export PGDATABASE="postgres" -export PGUSER="postgres" -export PGPASSWORD="rootpost" - -# Call pg_dump.exe to generate the SQL file -"C:/Program Files/PostgreSQL/16/bin/pg_dump.exe" -f "./apps/db/initial/1_init.sql" --schema-only - -"C:/Program Files/PostgreSQL/16/bin/pg_dump.exe" -f "./apps/db/initial/2_data.sql" --data-only -t prezziario2 -t banners -t etichette -t flags -t banlist -t testi_e_stringhe -t temp_tokens - -# Check if the pg_dump command was successful -if [ $? -eq 0 ]; then - echo "SQL file generated successfully." -else - echo "Failed to generate SQL file." -fi - -# Wait for user keypress -read -n 1 -s -r -p "Press any key to exit..."