2 years ago
URGENT: In baandaclient_stage service ... seemingly updates in github is getting pushed to railways. Deployment log is showing that the push is happening and then it is successful in deployment log.
However, nothing is getting pushed. I have deleted everything except app.js. In github, there is nothing but in App.js says ... "This is a test." It still shows the old deployment image. If I do not get an answer by tomorrow, We have to return back to Heroku if I cannot fix it by tomorrow. Please help ... customer is waiting.
1 Replies
2 years ago
Hello,
I checked out the mentioned service and I noticed that the attached domain is a Cloudflare Proxied domain, the current page that's being served is very likely cached. During development, you can enable development mode in Cloudflare to turn off caching.
But I also noticed a far bigger issue (IMO) you are running a development server (react-scripts start) and that's costing you a lot in memory consumption (sub 400MB) and in my experience running development servers on cloud platforms is super buggy and an unstable experience, Let's fix that -
https://github.com/brody192/create-react-app-starter
This is an example repo that showcases a create-react-app website that gets built and served with Caddy.
This decreases memory consumption to sub 50MB, and increases stability greatly since it is designed to run in production environments.
Simply copy the nixpacks.toml and Caddyfile from that repo into your create-react-app project files.
Please let me know if you have any more issues or questions.
Status changed to Awaiting User Response Railway • over 1 year ago
7 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 7 months ago