diff --git a/atdb/taskdatabase/templates/taskdatabase/index.html b/atdb/taskdatabase/templates/taskdatabase/index.html index 1412da483ed18c34e1f7f8759fc504d6a9e26738..973a3092b1436fc37ac0ab49287b49b89d71350d 100644 --- a/atdb/taskdatabase/templates/taskdatabase/index.html +++ b/atdb/taskdatabase/templates/taskdatabase/index.html @@ -31,7 +31,7 @@ {% include 'taskdatabase/pagination.html' %} </div> </div> - <p class="footer"> Version 10 Dec 2024 - 14:16</p> + <p class="footer"> Version 10 Dec 2024 - 14:25</p> </div> {% include 'taskdatabase/refresh.html' %} diff --git a/deploy_atdb_local_dev.sh b/deploy_atdb_local_dev.sh index 2df8b81bf510efebfc8d725431bfbd165ebcb59b..c777edf4e12ebc7bedfafd16376f98b2e58f7a39 100644 --- a/deploy_atdb_local_dev.sh +++ b/deploy_atdb_local_dev.sh @@ -1,10 +1,16 @@ #!/usr/bin/bash export ATDB_DIR=$HOME/my_docker/atdb-ldv -cd $ATDB_DIR -git pull -# Proceed with build and redeploy, this only does something when new changes were detected by the git pull -cd atdb -docker build -t atdb-ldv:latest . -docker-compose -f docker/docker-compose-dev-pull-local.yml -p atdb up -d +while true; do + cd $ATDB_DIR + git pull + + # Proceed with build and redeploy, this only does something when new changes were detected by the git pull + cd atdb + docker build -t atdb-ldv:latest . + docker-compose -f docker/docker-compose-dev-pull-local.yml -p atdb up -d + + sleep 60 # Wait for 1 minute before the next iteration + +done \ No newline at end of file