From fb548c8d2f9f888a9bf2ff29001ce99ef6f11aa2 Mon Sep 17 00:00:00 2001 From: Edward Tirado Jr Date: Sun, 30 Mar 2025 18:10:07 -0500 Subject: [PATCH] Updated script to restart docker containers --- firstRun.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firstRun.sh b/firstRun.sh index 69527ea..637e1da 100755 --- a/firstRun.sh +++ b/firstRun.sh @@ -58,6 +58,9 @@ docker exec -ti "${PROJECT_NAME}-api" ./manage.py createsuperuser echo "===== COLLECTING STATIC FILES =====" docker exec -ti "${PROJECT_NAME}-api" ./manage.py collectstatic +echo "===== RESTARTING DOCKER CONTAINERS =====" +docker compose restart + echo "Success! Go to http://localhost:8000 to see API documentation." git remote remove origin