Skip to content

Commit

Permalink
update container name to django
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh4kE committed Mar 3, 2017
1 parent 545b391 commit 45897c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update_docker_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ do
docker-compose up -d

echo "Migrating database"
docker exec -it ofmhelper_web_1 python manage.py migrate
docker exec -it ofmhelper_django_1 python manage.py migrate

echo "Copying static files"
docker exec -it ofmhelper_web_1 python manage.py collectstatic
docker exec -it ofmhelper_django_1 python manage.py collectstatic
else
echo "$NAME up to date"
fi
Expand Down

0 comments on commit 45897c3

Please sign in to comment.