From ffde90e6f58dd024d2f6d7c622d4f18ef3f8605f Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Fri, 23 Aug 2024 23:56:56 -0400 Subject: [PATCH] Clean up files after postgis migration --- backend/init-postgis.sql | 2 -- backup.sh | 2 ++ deploy.sh | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 backend/init-postgis.sql diff --git a/backend/init-postgis.sql b/backend/init-postgis.sql deleted file mode 100644 index 032f6f9..0000000 --- a/backend/init-postgis.sql +++ /dev/null @@ -1,2 +0,0 @@ -CREATE EXTENSION IF NOT EXISTS postgis; -CREATE EXTENSION IF NOT EXISTS postgis_topology; \ No newline at end of file diff --git a/backup.sh b/backup.sh index d85a5f2..69d5b12 100644 --- a/backup.sh +++ b/backup.sh @@ -1,3 +1,5 @@ +# This script will create a backup of the adventurelog_media volume and store it in the current directory as adventurelog-backup.tar.gz + docker run --rm \ -v adventurelog_adventurelog_media:/backup-volume \ -v "$(pwd)":/backup \ diff --git a/deploy.sh b/deploy.sh index 4844fb7..9548c7c 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,3 +1,5 @@ +# This script is used to deploy the latest version of AdventureLog to the server. It pulls the latest version of the Docker images and starts the containers. It is a simple script that can be run on the server, possibly as a cron job, to keep the server up to date with the latest version of the application. + echo "Deploying latest version of AdventureLog" docker compose pull echo "Stating containers"