R
Railway•16mo ago
end

Site not loading

Hi today i created a new website it deployed and everything was normal but when i try to open it it dont load
50 Replies
Percy
Percy•16mo ago
Project ID: N/A
end
end•16mo ago
N/A
Brody
Brody•16mo ago
can you be a little more specific than didnt load? did you see any error messages, what was the status code, etc
end
end•16mo ago
there arent any code error but its just an endless load
Brody
Brody•16mo ago
okay, what kind of site is this?
end
end•16mo ago
a login page using css js and html
Brody
Brody•16mo ago
can you share your repo?
end
end•16mo ago
sure
end
end•16mo ago
GitHub
GitHub - ckbi/login-page: login page using css js and html
login page using css js and html. Contribute to ckbi/login-page development by creating an account on GitHub.
end
end•16mo ago
i tried to restart it and now is blocked at initializing
Brody
Brody•16mo ago
known issue, in the mean time move your static files into a /app folder, and add an index.html file
end
end•16mo ago
okay okay done
Brody
Brody•16mo ago
you arent done read this message carefully
end
end•16mo ago
oh didnt saw added
Brody
Brody•16mo ago
okay now you wait until railway fixes their stuff lol
end
end•16mo ago
okay thanks for the help
Brody
Brody•16mo ago
actually my bad i was wrong, please change the app folder to public
end
end•16mo ago
okay
Brody
Brody•16mo ago
please rename the app folder to public
end
end•16mo ago
yes sorry forgot
Nico
Nico•16mo ago
@Brody so having /public folder and an index.html helps alleviate the issue? Why is that? I have both and it's still not initializing. OK it finally went through. Sometimes it hangs for hours. Its like rolling the dice.
end
end•16mo ago
done mine still on cryingman few hours ago i deployed and everything was normal i made some changes and restarted
Brody
Brody•16mo ago
your deployment being stuck on initializing has nothing to do with a public folder and an index.html file
Nico
Nico•16mo ago
Ok so different issue
end
end•16mo ago
waiting is stressful cryingman
Nico
Nico•16mo ago
Do you know what's up with the initialization thing @Brody ?
end
end•16mo ago
why did this issue happend?
Brody
Brody•16mo ago
#🛂|readme #5
end
end•16mo ago
near 20 min cryingman @Brody now working chefkiss
Brody
Brody•16mo ago
no problem 🙂
end
end•16mo ago
brody can i ask on how to run a site at full speed? cause i have the hobby plan but my site uses 2 cores
Brody
Brody•16mo ago
what makes you think that
end
end•16mo ago
when i go see the metrics it uses only 2.6 cpu
Brody
Brody•16mo ago
screenshot please
end
end•16mo ago
sure
end
end•16mo ago
sorry for the ultra low quality
Brody
Brody•16mo ago
you cropped out the most important part lol
end
end•16mo ago
oh sending full
end
end•16mo ago
end
end•16mo ago
as you can see he uses 2.6 cpu
Brody
Brody•16mo ago
and is that metrics for a service deployed from this repo?
end
end•16mo ago
no its a bot
Brody
Brody•16mo ago
oh then why would you want it to use more cpu? that would cost you more money
end
end•16mo ago
to make it a bit faster but its ok i was only asking
Brody
Brody•16mo ago
no offense, but if its not fast, thats due to inefficiencies in your code
end
end•16mo ago
cryingman
Brody
Brody•16mo ago
your bot will only use the resources it needs
end
end•16mo ago
thanks anyways
Brody
Brody•16mo ago
no problem
Want results from more Discord servers?
Add your server