calvinh99 / mangastyle

The place to find the latest trending mangastyle art on twitter.
0 stars 0 forks source link

Add to dockerfile some commands #20

Closed calvinh99 closed 2 years ago

calvinh99 commented 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