Hello,
Locally all my static links work fine, but when I try to push my project to a live server it can’t find my static links.
On puTTy I tried running following command: python manage.py collecstatic
This is how I configure my STATIC_URLS in settings.py:
PROJECT_ROOT = os.path.dirname(abspath(__file__))
STATIC_URL = '/static/'
STATIC_ROOT = "/var/www/order.itspot.be/static/"
And this is how I link to it in my templates:
<link href="{% static 'm365/css/boxicons/css/boxicons.min.css' %}" rel="stylesheet">
<link href="{% static 'm365/css/bootstrap/css/bootstrap.min.css'%}" rel="stylesheet">
Why can’t it find my apps on the live build? If you need more information feel free to ask.