Updated script to restart docker containers
This commit is contained in:
parent
311ef6cb28
commit
fb548c8d2f
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ docker exec -ti "${PROJECT_NAME}-api" ./manage.py createsuperuser
|
||||||
echo "===== COLLECTING STATIC FILES ====="
|
echo "===== COLLECTING STATIC FILES ====="
|
||||||
docker exec -ti "${PROJECT_NAME}-api" ./manage.py collectstatic
|
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."
|
echo "Success! Go to http://localhost:8000 to see API documentation."
|
||||||
|
|
||||||
git remote remove origin
|
git remote remove origin
|
||||||
|
|
Loading…
Add table
Reference in a new issue