Rahat Bin Taleb
Rahat Bin Taleb
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
anyways thanks for your patience! 🙂
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
No description
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
because youare not clear in what you say! build time things: the things which are decided in built time ! so if the react env is decided in built time it will store the env variable at that moment isn;t it? do you agree that?
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
what are you saying?? if the env for static website is a build thing then my app should work even after i remove the runtime variable because runtime varibales are injected to the containe rby railway isn't it
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
do you want to test?
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
see there is 2 cases ! if i really supplied the env during build then even if i remove the env from the railway app it should work the same! but i can show you now a practically demo that if i remove the react app env my deployment will stop working again
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
that for fisrtdeployment it was not working because it didnt get the env due to the build process ! and when i retried the build env wa sosmehow go some magic and it started working gaain
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
so your claim seems to be a great magic to me!
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
https://github.com/ToxicalNoob3062/THE-NASA-PROJECT/tree/master/client this is the same client repo that i am seeing now in my dev env too all the files are synced ! and i am using the build command of pakcage.json which is also doesnt giving any env as it arguements!
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
yeah but my frontend repo soesnt have any env reference ! so during build time how will it get it?
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
REACT_APP_ENV=dev REACT_APP_SERVER_PORT=5000 REACT_APP_PORT=5000 PORT=5000 oh my bad but my server had a .env file in my local repo with this variabbles but these never get included in the cloud repo! so then what are you trying to say?
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
https://github.com/ToxicalNoob3062/THE-NASA-PROJECT/tree/master well i think railway is fetching my latest deployment as i can see of github! and in my are eyes i can see any .env file in my repo
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
if it is not a runtime stuff?
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
who supplied it?
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
hmmm! your comment makes sense in a way! then question comes that how it was getting the env earlier and now
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
so according to you env varibales are a build time thing comapred to a runtime thing?
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
but earlier it was working and not it is working to! and as i said i don't need to ! because my frontend is like a js file search for a env! so in that case it becomes a part of your server project! because the frontend is nothing but a route of my backend!
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
instead of some docker logs there is nothing but still as you wanted here it is!
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
69 replies
RRailway
Created by Rahat Bin Taleb on 4/11/2024 in #✋|help
Old project stopped working after re-deploying
terminal logs of the front build?
69 replies