After deploying the images are not showing and some pages have broken css.

What could be the problem
27 Replies
Percy
Percy2y ago
Project ID: 3fec6ca2-75a4-4a29-a64a-954602782e2c
Dennis musembi
Dennis musembiOP2y ago
3fec6ca2-75a4-4a29-a64a-954602782e2c
Brody
Brody2y ago
what tech stack
Dennis musembi
Dennis musembiOP2y ago
python django
Brody
Brody2y ago
is your start command running collectstatic?
Dennis musembi
Dennis musembiOP2y ago
I run the command locally before pushing to GitHub. On the start command to sure what you are asking about.
Dennis musembi
Dennis musembiOP2y ago
I added this railway.json file. it builds and deployed successfully. But now i get application failed to respond. it has now changed to crashed
Brody
Brody2y ago
error logs please
Dennis musembi
Dennis musembiOP2y ago
no any error i can see
Brody
Brody2y ago
in deploy logs
Dennis musembi
Dennis musembiOP2y ago
nothing too.
Brody
Brody2y ago
deploy again
Dennis musembi
Dennis musembiOP2y ago
now there are errors
Brody
Brody2y ago
full deploy logs please
Dennis musembi
Dennis musembiOP2y ago
Dennis musembi
Dennis musembiOP2y ago
Brody
Brody2y ago
you need to modify the start command to start your app, you do not have a mysite folder, change that for what your actual folder is named (the folder that has settings.py)
Dennis musembi
Dennis musembiOP2y ago
my bad I just changed that file without looking into details. Sorry. I have just been having hard time deploying this app for the last few days its up now but the images and css it not working still
Brody
Brody2y ago
Dennis musembi
Dennis musembiOP2y ago
all the white noise settings are according to this file. except for the static storage. am using Django static storage. white noise storage leads to internal server error with no error code or anything else. django storage works well in the local testing.
Brody
Brody2y ago
follow that doc so you can setup whitenoise properly
Dennis musembi
Dennis musembiOP2y ago
ok.
Dennis musembi
Dennis musembiOP2y ago
updated the settings file according to this but no result. I have this error now.
Brody
Brody2y ago
that just looks like a code issue now
Dennis musembi
Dennis musembiOP2y ago
ok thanks alot
Want results from more Discord servers?
Add your server