I’m deploying my app and I wonder what I’m missing.
I did the following:
- Set my STATIC_ROOT to an empty folder in my server.
- Set the STATIC_URL to ‘/static/’
- Added ‘django.contrib.staticfiles’ to INSTALLED_APPS
In development my static files are in the root of my app in a folder named static.
So, I ran manage.py collectstatic and all my files were copied to my static_root.
However, it doesn’t work. I don’t know if i’m missing any step.
Any help would be great
Thanks
. 4. Point Apache at your static folder.