diff --git a/day03/deploy_django_app.sh b/day03/deploy_django_app.sh index 4aad1f2..5ef57cc 100755 --- a/day03/deploy_django_app.sh +++ b/day03/deploy_django_app.sh @@ -40,6 +40,8 @@ required_restarts() { # Function to deploy the Django app deploy() { + echo "switching to project directory" + cd django-notes-app echo "Building and deploying the Django app..." docker build -t notes-app . && docker-compose up -d || { echo "Failed to build and deploy the app."