From 36be2d0bca648dedeee377ae2dabf614db0292b5 Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Sat, 14 Oct 2023 12:35:43 -0600 Subject: [PATCH] refactor: delete old Docker deploy scripts (no longer needed) --- install/docker-linux.sh | 31 ------------------------------- install/docker-windows.bat | 28 ---------------------------- 2 files changed, 59 deletions(-) delete mode 100755 install/docker-linux.sh delete mode 100644 install/docker-windows.bat diff --git a/install/docker-linux.sh b/install/docker-linux.sh deleted file mode 100755 index 6a4d3a3..0000000 --- a/install/docker-linux.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -echo "Installing ass-docker for Linux..." - -# Ensure that ./uploads/thumbnails/ exists -mkdir -p ./uploads/thumbnails/ - -# Ensure that ./share/ exists -mkdir -p ./share/ - -# Ensure that files config.json, auth.json, & data.json exist -for value in config.json auth.json data.json -do - if [ ! -f $value ]; then - touch $value - fi -done - -# Wait for user to confirm -echo "Continuing will run docker compose. Continue? (Press Ctrl+C to abort)" -read -n 1 -s -r -p "Press any key to continue..." - -echo Running setup... - -# Bring up the container and run the setup -docker compose up -d && docker compose exec ass npm run setup && docker compose restart - -# Done! -echo "ass-docker for Linux installed!" -echo "Run the following to view commands:" -echo "$ docker compose logs -f --tail=50 --no-log-prefix ass" diff --git a/install/docker-windows.bat b/install/docker-windows.bat deleted file mode 100644 index 34cce34..0000000 --- a/install/docker-windows.bat +++ /dev/null @@ -1,28 +0,0 @@ -@echo off - -ECHO Installing ass-docker for Windows... - -REM Ensure that ./uploads/thumbnails/ exists -if not exist "./uploads/thumbnails/" md "./uploads/thumbnails/" - -REM Ensure that ./share/ exists -if not exist "./share/" md "./share/" - -REM Ensure that files config.json, auth.json, & data.json exist -if not exist "./config.json" echo. >> "./config.json" -if not exist "./auth.json" echo. >> "./auth.json" -if not exist "./data.json" echo. >> "./data.json" - -REM Wait for user to confirm -ECHO Continuing will run docker compose. Continue? (Press Ctrl+C to abort) -PAUSE - -ECHO Running setup... - -REM Bring up the container and run the setup -docker compose up -d && docker compose exec ass npm run setup && docker compose restart - -REM Done! -ECHO ass-docker for Windows installed! -ECHO Run the following to view commands: -ECHO > docker compose logs -f --tail=50 --no-log-prefix ass