Reading json files within railway

Anyway to read json files in the environment?
12 Replies
Percy
Percy8mo ago
Project ID: N/A
Lightning
LightningOP8mo ago
N/A
Brody
Brody8mo ago
context please?
Lightning
LightningOP8mo ago
I wanna be able to read json files within railway because some stuff is being stored in json files.
Brody
Brody8mo ago
may i ask whats stopping you?
Lightning
LightningOP8mo ago
Me not knowing how to do it
Brody
Brody8mo ago
im sorry but we dont offer coding help here, there would be endless resources online for how to open files
Lightning
LightningOP8mo ago
I know how to open json files Let me rephrase I know how to open json files using code. I’m asking is there anyway to open the file inside of a railway environment Like viewing the contents inside of it
Brody
Brody8mo ago
you want to view the contents of your files in your deployments?
Lightning
LightningOP8mo ago
Essentially, I know I can look on my GitHub but json files but json stuff doesn’t update there
Brody
Brody8mo ago
that would be funcinatnly your app would need to provide, railway does not provide such a feature because the files in the container are ephemeral if you need persistant storage make sure you are storing these json files in a volume https://docs.railway.app/guides/volumes
Lightning
LightningOP8mo ago
I see
Want results from more Discord servers?
Add your server