Reading json files within railway

Anyway to read json files in the environment?
12 Replies
Percy
Percy2mo ago
Project ID: N/A
Lightning
Lightning2mo ago
N/A
Brody
Brody2mo ago
context please?
Lightning
Lightning2mo ago
I wanna be able to read json files within railway because some stuff is being stored in json files.
Brody
Brody2mo ago
may i ask whats stopping you?
Lightning
Lightning2mo ago
Me not knowing how to do it
Brody
Brody2mo ago
im sorry but we dont offer coding help here, there would be endless resources online for how to open files
Lightning
Lightning2mo 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
Brody2mo ago
you want to view the contents of your files in your deployments?
Lightning
Lightning2mo ago
Essentially, I know I can look on my GitHub but json files but json stuff doesn’t update there
Brody
Brody2mo 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
Lightning2mo ago
I see