Closed StevenWeir038 closed 2 years ago
Any images stored in static/img/
folder should display when deployed. Remember to delete the DISABLE_COLLECTSTATIC config var in Heroku Settings by clicking on the X.
When I did deleted this config var and tried to redeploy, the build log stated python manage.py collectstatic --noinput
.
This prompted a different approach to handling static files by installing the dotenv
python package. From there i updated the requirements.txt
file and settings.py
and env.py
files in the project before pushing to GitHub again.
To view code changes in env.py and settings.py files review commit 23ce21776978ef24d84bdd28bba75f977f5dd460
Any images stored in
static/img/
folder should display when deployed.Tried deleting the DISABLE_COLLECTSTATIC config var in Heroku Settings by clicking on the X. No effect.