Closed calvinh99 closed 2 years ago
If we make a change to models.py we want docker to auto migrate when we run it. If we make a change to static files like html, css, js we want docker to auto collect when we run it in production.
python manage.py migrate python manage.py collectstatic --noinput
If we make a change to models.py we want docker to auto migrate when we run it. If we make a change to static files like html, css, js we want docker to auto collect when we run it in production.
python manage.py migrate python manage.py collectstatic --noinput