Django project deployment on Railway hosting missing styles and staticfiles

My django project on Railway hosting platform has no styles. Its like the staticfiles are missing. I ran the collectstatic command locally and puhed the staticfiles folder to my github but its still not working.

message profile
Admin
2023-01-07

You need to serve your own staticfiles on most platforms. Luckily there is a pip package that helps you to do that with very little configuration required, follow the steps in the link below to learn how to set one up in your Django project.

How to setup Whitenoise for a Django project

Add Message

Click on the button below to add a new message to this thread

Tags

#railway-hosting #python #django

Thread detail

Satus: Open
Messages: 1Started: 2023-01-07
loading..

DEVMAESTERS

Newsletter

Services

Frontend Development |Backend Development |Full Website Development |Bootstrap Website upgrades | Website Debbugging | Website Hosting & deployment

Contact

Interested in hiring me or collaborating with me on a project, click on any of the links below to get my social media handle

Or contact me via Tel: (+234)-806-225-7480 | Email: abubakarzakari1703@gmail.com

Copywright@devmaesters.com
Privacy Policy

By using our website,
you agree that devmaesters can store cookies on your device and disclose information in accordance with our privacy policy.